mac80211: remove disassociation code from ieee80211_set_associated
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 8 Sep 2008 15:33:39 +0000 (17:33 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 11 Sep 2008 19:53:36 +0000 (15:53 -0400)
commitf5e5bf258b399f74b606e532ae0a2599522fd7bf
tree146b31768e646875a72753979eda3abb62cd6971
parent3b7ee69d0caefbdb85a606a98bff841b8c63b97e
mac80211: remove disassociation code from ieee80211_set_associated

This patch moves disassociation code from ieee80211_set_associated
to ieee80211_set_disassoc. To reduce code duplication, it introduces
the ieee80211_sta_send_apinfo function. Additionally, it fixes a lapse
where BSS_CHANGED_HT wasn't set when notifying the driver of changes
due to disassociation.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c