iwinfo: add 802.11ac hw mode
authorFelix Fietkau <nbd@openwrt.org>
Mon, 20 Oct 2014 13:49:24 +0000 (15:49 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 20 Oct 2014 13:49:24 +0000 (15:49 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
iwinfo.c

index 93407bbfa4cb3c7bbb2b8688943652a2129b5e94..6a12d7136f3a2a7166a8bee4b7aa525946665ba4 100644 (file)
--- a/iwinfo.c
+++ b/iwinfo.c
@@ -206,6 +206,9 @@ rpc_iwinfo_call_hwmodes(const char *name)
        {
                c = blobmsg_open_array(&buf, name);
 
+               if (modes & IWINFO_80211_AC)
+                       blobmsg_add_string(&buf, NULL, "ac");
+
                if (modes & IWINFO_80211_A)
                        blobmsg_add_string(&buf, NULL, "a");