]> git.karo-electronics.de Git - linux-beck.git/commit
mac80211: flush queues before deauth/disassoc
authorEliad Peller <eliad@wizery.com>
Wed, 27 Jun 2012 11:18:22 +0000 (14:18 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 28 Jun 2012 09:36:14 +0000 (11:36 +0200)
commitf823981e288f83113bf1129ff2c94e2fd74a28dd
treed441332c9230fc0276c9aeecc723e5077c9b1a15
parentfc8a7321d3d68af759a369a9ad3e2426688742d3
mac80211: flush queues before deauth/disassoc

On deauth/disassoc we tear down all BA sessions. These
DELBA packets are sent on the appropriate TID, while
deauth/disassoc is always sent on VO. This sometimes
ends with the DELBA being sent after the deauth was
already sent.

Fix it by flushing all the pending frames before
sending deauth/disassoc.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c