Show OSEN key management properly in scan results
authorBen Greear <greearb@candelatech.com>
Tue, 17 Mar 2015 20:52:29 +0000 (13:52 -0700)
committerJouni Malinen <j@w1.fi>
Wed, 25 Mar 2015 14:04:03 +0000 (16:04 +0200)
commit0f8385e6fabf74ac5c91c3f9a58108e6e89c10a8
treeff3e5594490cb46137088bd48188786b725b1235
parente7b4cd0c554609f6a096719e756f16cb0a8a1dc4
Show OSEN key management properly in scan results

Old code defaulted to WEP for an AP advertising OSEN. Show as OSEN
instead. Re-use most of the RSN parsing logic since all but the header
is the same.

Example output:

[root@ath9k-f lanforge]# ./local/bin/wpa_cli -i sta0 scan_results
bssid / frequency / signal level / flags / ssid
00:0e:8e:6f:40:49 2462 -23 [OSEN-OSEN-CCMP][ESS] ben-138

Signed-off-by: Ben Greear <greearb@candelatech.com>
src/common/wpa_common.c
src/rsn_supp/wpa_ie.c
wpa_supplicant/ctrl_iface.c