iwinfo: Fix buffer size
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 1 Sep 2019 17:26:01 +0000 (19:26 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 1 Sep 2019 17:38:03 +0000 (19:38 +0200)
commit71ec9be5064c473e6daed122c0c31113f974ce82
tree7757245cc8aefef200c102e65786b236b5fbff5a
parentf8ef45065207b93b6a1df2a6619e82fef121f8bb
iwinfo: Fix buffer size

With WPA3 the wpa_key_mgmt string can be longer than 16 bytes. The
sea-mixed setting for example is 27 bytes long:
wpa_key_mgmt=WPA-PSK WPA-PSK-SHA256 SAE

Increase the buffer to better detect more complicated authentication methods.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
iwinfo_nl80211.c