summaryrefslogtreecommitdiff
path: root/package/network
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
commit3158e7cca26d6023a44d8ce47f6b53b2cd8ea95b (patch)
tree875afef0e5480bdab365093604db3269abb3f79b /package/network
parent14ebb012a449f8577c1915e5d0ad07859559b3eb (diff)
downloadmtk-20170518-3158e7cca26d6023a44d8ce47f6b53b2cd8ea95b.zip
mtk-20170518-3158e7cca26d6023a44d8ce47f6b53b2cd8ea95b.tar.gz
mtk-20170518-3158e7cca26d6023a44d8ce47f6b53b2cd8ea95b.tar.bz2
iwinfo: handle 802.11ac mode for lua
Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com> SVN-Revision: 42757
Diffstat (limited to 'package/network')
-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 cdb90d5..3201af4 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;
}