]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb2db8438e327ca07b57e37130bd5661a1ca26c7b
tree146b31768e646875a72753979eda3abb62cd6971
parent7937b6e27431e7a88943bbb4f4bc055550bf9c0d
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