iwinfo: add missing HT modename for HT-None
authorDavid Bauer <mail@david-bauer.net>
Sun, 22 Mar 2020 00:01:26 +0000 (01:01 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sun, 22 Mar 2020 00:13:45 +0000 (01:13 +0100)
commit9f5a7c4f9b78cb2de8fe5dd7af55bf0221706402
tree4e691cf9d034b74bd2f44d6068a5d2d69402fb53
parent06a03c9e3b32a409e8307b1abde2cfd7dd969b6d
iwinfo: add missing HT modename for HT-None

Commit bf2c1069a7f1 ("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: bf2c1069a7f1 ("nl80211: add htmode to iwinfo_ops")
Signed-off-by: David Bauer <mail@david-bauer.net>
iwinfo_lib.c