wpa_supplicant AP: Disable AP mode on disassoc paths - problems
Janusz Dziedzic
janusz.dziedzic
Fri Jul 15 00:17:39 PDT 2011
Hello,
Seems
commit ca62e114aa7b716fc5edc5e8da5e20b74d942201
Author: Jouni Malinen <j at w1.fi>
Date: Tue Jul 5 16:38:30 2011 +0300
wpa_supplicant AP: Disable AP mode on disassoc paths
Regardless of how the AP mode is disabled, wpa_supplicant_ap_deinit()
must be called. Make sure this happens on all paths by calling the
deinit function from wpa_supplicant_mark_disassoc().
Generate problems in case of wpa_supplicant AP mode.
Operstate is always 0 (RTM_NEWLINK: operstate=0) for drivers that
can't change interface mode when UP.
Works fine with ath9k.
D/wpa_supplicant( 2330): nl80211: Failed to set interface 4 to mode 2:
-16 (Device or resource busy)
D/wpa_supplicant( 2330): nl80211: Try mode change after setting interface down
D/wpa_supplicant( 2330): nl80211: Mode change succeeded while interface is down
D/wpa_supplicant( 2330): nl80211: Remove interface ifindex=5
D/wpa_supplicant( 2330): wpa_driver_nl80211_set_operstate: operstate 1->0
D/wpa_supplicant( 2330): nl80211: Interface up
D/wpa_supplicant( 2330): wpa_driver_nl80211_set_operstate: operstate
0->0 (DORMANT)
D/wpa_supplicant( 2330): RTM_NEWLINK: operstate=0 ifi_flags=0x11043
([UP][RUNNING][LOWER_UP])
BR
--
Janusz
More information about the Hostap
mailing list