iwinfo: handle 802.11ac mode for lua
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 4 Oct 2014 09:38:17 +0000 (09:38 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 4 Oct 2014 09:38:17 +0000 (09:38 +0000)
Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42757 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/network/utils/iwinfo/src/iwinfo_lua.c

index cdb90d5..3201af4 100644 (file)
@@ -499,6 +499,9 @@ static int iwinfo_L_hwmodelist(lua_State *L, int (*func)(const char *, int *))
                lua_pushboolean(L, hwmodes & IWINFO_80211_N);
                lua_setfield(L, -2, "n");
 
+               lua_pushboolean(L, hwmodes & IWINFO_80211_AC);
+               lua_setfield(L, -2, "ac");
+
                return 1;
        }