]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix software remain-on-channel implementation
authorJohannes Berg <johannes.berg@intel.com>
Thu, 27 Mar 2014 14:39:20 +0000 (15:39 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 9 Apr 2014 08:47:47 +0000 (10:47 +0200)
commit95ec5126dc8de424897b7e877a075cd2e900bbcb
tree29ee8b91c2b13be267714ec2458fe464bf7e89f7
parent8c4d76b51ff20f199b82423ea960baf967c1daa1
mac80211: fix software remain-on-channel implementation

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.

Cc: stable@vger.kernel.org
Fixes: 18f5ff5d7c17d ("mac80211: unify SW/offload remain-on-channel")
Reported-by: Jouni Malinen <j@w1.fi>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/offchannel.c