Files
linux/net/mac80211
Johannes Berg 55fe02e968 mac80211: clean up remain-on-channel on interface stop
commit 71ecfa1893 upstream.

When any interface goes down, it could be the one that we
were doing a remain-on-channel with. We therefore need to
cancel the remain-on-channel and flush the related work
structs so they don't run after the interface has been
removed or even destroyed.

It's also possible in this case that an off-channel SKB
was never transmitted, so free it if this is the case.
Note that this can also happen if the driver finishes
the off-channel period without ever starting it.

Reported-by: Nirav Shah <nirav.j2.shah@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-17 11:23:10 -07:00
..
2011-05-16 14:10:41 -04:00
2011-05-16 14:10:41 -04:00
2011-06-08 14:19:05 -04:00
2011-05-16 14:10:41 -04:00
2011-01-05 16:07:12 -05:00
2012-02-29 16:33:40 -08:00
2011-05-16 14:10:41 -04:00
2011-05-05 14:59:20 -04:00
2011-03-31 11:26:23 -03:00
2010-12-22 15:44:22 -05:00