]> bbs.cooldavid.org Git - net-next-2.6.git/commit
cfg80211: deauth doesn't always imply disconnect
authorJohannes Berg <johannes.berg@intel.com>
Thu, 5 Aug 2010 08:20:27 +0000 (10:20 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Aug 2010 19:26:39 +0000 (15:26 -0400)
commit3f3b6a8d90b6e762e2bb83e6a9e86d9534b56cdc
tree6d9580c04474055b06d6b5c332c8f3d36c8a3bbc
parent2bff8ebf32a7c5ec9e5f5eeffef94a8cb622f5f0
cfg80211: deauth doesn't always imply disconnect

When an AP sends a deauth frame, or we send one
to an AP, that only means we lost our connection
if we were actually connected to that AP. Check
this to avoid sending spurious "disconnected"
events and breaking "iw ... link" reporting.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/mlme.c