mac80211: disassociate when moving to new BSS
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 8 Sep 2008 15:33:38 +0000 (17:33 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 11 Sep 2008 19:53:35 +0000 (15:53 -0400)
commit3b7ee69d0caefbdb85a606a98bff841b8c63b97e
tree3c8e58cdef2d410f8c911a944a2e6e853e19c5f9
parentaa458d1737c3cc9a7c90ea9c5ef1ee6d663fba71
mac80211: disassociate when moving to new BSS

This patch makes the MLME cleanly disassociate from the current BSS
when leaving it for a new one. This is not just nicer to the old AP
(we're leaving it, might as well tell it!) but also required for some
drivers that keep track of the station we're associated with, they'd
get confused because they'd think we are associated with two APs.

Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
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