aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iwinfo
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-10-04 09:38:17 +0000
committerJo-Philipp Wich <jow@openwrt.org>2014-10-04 09:38:17 +0000
commit2ec28fde123e5275393cbede7f6ea29f0d840b9b (patch)
tree1c39465cfcf6c22f99ee6ee27caaed682f09df5b /package/network/utils/iwinfo
parentf02ccab61b43920f24610a5798f5b2427da117ba (diff)
downloadupstream-2ec28fde123e5275393cbede7f6ea29f0d840b9b.tar.gz
upstream-2ec28fde123e5275393cbede7f6ea29f0d840b9b.tar.bz2
upstream-2ec28fde123e5275393cbede7f6ea29f0d840b9b.zip
iwinfo: handle 802.11ac mode for lua
Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42757 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils/iwinfo')
-rw-r--r--package/network/utils/iwinfo/src/iwinfo_lua.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/network/utils/iwinfo/src/iwinfo_lua.c b/package/network/utils/iwinfo/src/iwinfo_lua.c
index cdb90d5b47..3201af4f01 100644
--- a/package/network/utils/iwinfo/src/iwinfo_lua.c
+++ b/package/network/utils/iwinfo/src/iwinfo_lua.c
@@ -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;
}