OSDN Git Service

mac80211: restructure disassoc/deauth flows
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 8 Sep 2008 21:32:12 +0000 (00:32 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 11 Sep 2008 19:53:35 +0000 (15:53 -0400)
commitaa458d1737c3cc9a7c90ea9c5ef1ee6d663fba71
treeb3331d3f864f9ff00def1280bd19bfbe3df9f5c8
parent79636a5fbbdfb303dbf2bfe7a7fa396f40bfac31
mac80211: restructure disassoc/deauth flows

This patch restructure the flow of disassociation and deauthentication
flows to be consistent under all circumstances.
It ensures that BA session is treated down before deauthentication or disassociation,
adds the removal of the obsolete sta form station table and fixes a related bug (sta_info_destroy
without sta_info_unlink) in ieee80211_associated()
and reduce some code duplication

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