summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-01-13 13:17:59 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2012-01-13 19:40:58 (GMT)
commit543d1b92d5500841e70f15e79d197bbffed36561 (patch)
treea41f7f9dced47e2f9fd967531107f57a7a59d1fd /ipc
parentdfd00c4c8f3dfa1fd7cec45f83d98b2a49743dcd (diff)
downloadlinux-543d1b92d5500841e70f15e79d197bbffed36561.tar.xz
mac80211: fix no-op authorized transitions
When userspace attempts to authorize a station that is already authorized, nothing happens as you'd expect. Similarly, when it unauthorizes a station that is associated, nothing happens. However, when it unauthorizes a station that isn't even associated yet, we erroneously try to move the station to associated. This seems to happen occasionally as a result of a race when wpa_supplicant attempts to unauthorize the port in managed mode. Particularly with my new patches to keep stations, it can then move a station into ASSOCIATED state before we have really associated, which is really confusing. I introduced this bug in "mac80211: refactor station state transitions" Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions