iwinfo: add missing HT modename for HT-None
Commitbf2c1069a7
("nl80211: add htmode to iwinfo_ops") increased IWINFO_HTMODE_COUNT but left the size of the IWINFO_HTMODE_NAMES array untouched, leading to a segmentation fault when trying to get the HT modelist from Lua. Add a dummy NOHT modestring to make the array size fit the size declaration. Fixes:bf2c1069a7
("nl80211: add htmode to iwinfo_ops") Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
parent
06a03c9e3b
commit
9f5a7c4f9b
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ const char *IWINFO_HTMODE_NAMES[] = {
|
||||||
"VHT80",
|
"VHT80",
|
||||||
"VHT80+80",
|
"VHT80+80",
|
||||||
"VHT160",
|
"VHT160",
|
||||||
|
"NOHT"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue