iwinfo: handle 802.11ac mode for lua
[openwrt.git] / package / network / utils / iwinfo / src / iwinfo_lua.c
index cdb90d5..3201af4 100644 (file)
@@ -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;
        }