[OpenWrt-Devel] [PATCH v2] iwinfo: handle 802.11ac mode for lua

Bartosz Markowski bartosz.markowski at tieto.com
Tue Sep 2 08:04:30 EDT 2014


Signed-off-by: Bartosz Markowski <bartosz.markowski at tieto.com>
---
 package/network/utils/iwinfo/src/iwinfo_lua.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/network/utils/iwinfo/src/iwinfo_lua.c b/package/network/utils/iwinfo/src/iwinfo_lua.c
index 9b7d655..b5842b2 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;
 	}
 
-- 
1.8.2
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list