iwinfo: handle 802.11ac mode for lua

Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>

SVN-Revision: 42757
master
Jo-Philipp Wich 10 years ago
parent 14ebb012a4
commit 3158e7cca2
  1. 3
      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_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…
Cancel
Save