#646: scan results delayed to wpa_supplicant
----------------------------------------+-----------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: defect | Status: new
Priority: major | Milestone: version 0.9.x -
progressive release candidate phase
Component: madwifi: 802.11 stack | Version: trunk
Resolution: | Keywords:
Patch_attached: 0 |
----------------------------------------+-----------------------------------
Comment (by [EMAIL PROTECTED]):
OK, I think I've got it... basically what happens is that
ieee80211_init() gets called automatically by ieee80211_open(). It's a
chicken and egg thing... wpa_suppl has to open a socket to the driver in
order to set the roaming mode, which in turn causes the state to get set
to SCAN. Why this prevents the scan event from being fired, I'm not sure,
but I have verified that if the state is not set to SCAN here, the event
is fired.
The pre-r1527 code would only set the state to SCAN if '''forcestate'''
was set.
For now a workaround for those running wpa_suppl would be to hard-code the
driver ic_roaming setting to IEEE80211_ROAMING_MANUAL. I will try and
test this tomorrow and post my results.
--
Ticket URL: <http://madwifi.org/ticket/646>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity