mac80211: fix software remain-on-channel implementation
authorJohannes Berg <johannes.berg@intel.com>
Thu, 27 Mar 2014 14:39:20 +0000 (15:39 +0100)
committerJiri Slaby <jslaby@suse.cz>
Thu, 15 May 2014 07:56:04 +0000 (09:56 +0200)
commitd89a88ef727f6048ea145129da830f88896fea9f
tree6a1e8c314dd34d706f474bcabba0b29a7481a28e
parentdb6ffa5384e83dd4b8a3c0e8a0f7979d8730ca77
mac80211: fix software remain-on-channel implementation

commit 115b943a6ea12656088fa1ff6634c0d30815e55b upstream.

Jouni reported that when doing off-channel transmissions mixed
with on-channel transmissions, the on-channel ones ended up on
the off-channel in some cases.

The reason for that is that during the refactoring of the off-
channel code, I lost the part that stopped all activity and as
a consequence the on-channel frames (including data frames)
were no longer queued but would be transmitted on the temporary
channel.

Fix this by simply restoring the lost activity stop call.

Fixes: 2eb278e083549 ("mac80211: unify SW/offload remain-on-channel")
Reported-by: Jouni Malinen <j@w1.fi>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
net/mac80211/offchannel.c