mac80211: make sure TDLS teardown packet is sent on time
authorLiad Kaufman <liad.kaufman@intel.com>
Thu, 17 Jul 2014 14:14:31 +0000 (17:14 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 21 Jul 2014 10:14:05 +0000 (12:14 +0200)
commitbb3f848608f070a6e3f6c477ba7ff46cf1fb0f02
tree1821fb79fe9d6c0eea2f1ac04f3c8eead97ce86b
parentdb8e173245535e7e91603e3e69bc63722a82ed81
mac80211: make sure TDLS teardown packet is sent on time

Since the teardown packet is created while the queues are
stopped, it isn't sent immediately, but rather is pending.
To be sure that when we flush the queues prior to destroying
the station we also send this packet - the tasklet handling
pending packets is invoked to flush the packets.

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Reviewed-by: ArikX Nemtsov <arik@wizery.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tdls.c