diff --git a/wifimngr.c b/wifimngr.c index 8bfd14004f5f1829c6b902d03f478bf05ea40627..2cf2771ce1b83790ecbbd1b68c20b05de3dcec35 100644 --- a/wifimngr.c +++ b/wifimngr.c @@ -841,16 +841,13 @@ static int wl_radios(struct ubus_context *ctx, struct ubus_object *obj, } else if (band == 1) { hwmodes[0] = "11a"; hwmodes[1] = "11n"; - hwmodes[2] = '\0'; + hwmodes[2] = "11ac"; hwmodes[3] = '\0'; bwcaps[0] = 20; bwcaps[1] = 40; bwcaps[2] = 80; if (bw160) bwcaps[3] = 160; - - if (is_ac) - hwmodes[2] = "11ac"; } c = blobmsg_open_array(&bb, "hwmodes");