nl80211: rework hostapd and wpa_supplicant query code

The old nl80211_hostapd_info() used a global static buffer which was not
properly zeroed on subsequent invocations, leading to misreported encryption
values when querying multiple radios or radious with multiple vifs.

Also rework and simplify the control socket code for wpa_supplicant by
splitting status query and scan handling.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
Jo-Philipp Wich 2015-05-18 14:12:02 +02:00
parent 7b39bee1c6
commit 5aef442328

File diff suppressed because it is too large Load diff