diff --git a/src/core/agent.c b/src/core/agent.c index 06c711b44222f5174769d93540e52d67f84444aa..e00a088a199e719e7482b4b5d0237d772ed761e4 100644 --- a/src/core/agent.c +++ b/src/core/agent.c @@ -2973,11 +2973,14 @@ static void parse_radio(struct ubus_request *req, int type, re->current_txpower_percent = (uint8_t) blobmsg_get_u32(tb[9]); if (tb[10]) { + // TODO: uncomment when radio mac is fixed in wifimngr test suite char macaddr[18] = {0}; - strncpy(macaddr, blobmsg_data(tb[10]), 17); - if (!hwaddr_aton(macaddr, re->macaddr)) - return; + re->macaddr[5] = atoi(re->name+4); + + //strncpy(macaddr, blobmsg_data(tb[10]), 17); + //if (!hwaddr_aton(macaddr, re->macaddr)) + // return; } }