From: Jo-Philipp Wich Date: Sat, 4 Oct 2014 09:38:17 +0000 (+0000) Subject: iwinfo: handle 802.11ac mode for lua X-Git-Tag: reboot~5781 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3158e7cca26d6023a44d8ce47f6b53b2cd8ea95b;p=openwrt%2Fstaging%2Fnoltari.git iwinfo: handle 802.11ac mode for lua Signed-off-by: Bartosz Markowski SVN-Revision: 42757 --- 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; }