Browse Source

iwinfo: handle 802.11ac mode for lua

Signed-off-by: Bartosz Markowski <[email protected]>

SVN-Revision: 42757
Jo-Philipp Wich 11 years ago
parent
commit
3158e7cca2
1 changed files with 3 additions and 0 deletions
  1. 3 0
      package/network/utils/iwinfo/src/iwinfo_lua.c

+ 3 - 0
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;
 	}