#195: Bug in ath_vap_delete (after suspend)
-------------------------------+--------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: svens
Type: defect | Status: new
Priority: major | Milestone: version 1.0.0 - first stable
release
Component: madwifi: driver | Version: trunk
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Comment (by svens):
Tracked this down today. Even if the vap is not UP ieee80211_setmlme tries
to associate to a station. This doesn't work, and the 80211 state machine
toggles between IEEE802111_S_SCAN and IEEE80211_S_AUTH. If the vap is now
destroyed, it is not stopped (because IFF_RUNNING isn't set on the vap).
Changed ieee80211_setmlme to return EINVAL in this case fixed this. But
more important is to limit the valid state transitions in the state
machine. (e.g. changing from IEEE80211_S_INIT to IEEE80211_S_AUTH isn't
possible if the Interface is down). Opinions?
--
Ticket URL: <http://madwifi.org/ticket/195>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity