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-a3cf2f4a3e73master
parent
f02ccab61b
commit
2ec28fde12
|
@ -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_pushboolean(L, hwmodes & IWINFO_80211_N);
|
||||||
lua_setfield(L, -2, "n");
|
lua_setfield(L, -2, "n");
|
||||||
|
|
||||||
|
lua_pushboolean(L, hwmodes & IWINFO_80211_AC);
|
||||||
|
lua_setfield(L, -2, "ac");
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue