]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix remain-on-channel cancellation
authorJohannes Berg <johannes.berg@intel.com>
Tue, 8 Dec 2015 22:46:33 +0000 (23:46 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 14 Jan 2016 10:10:10 +0000 (11:10 +0100)
commitb8f197d9e0f60e7a553c5743069feec079445f77
tree81e87156ceb04fe977ea506bf58d977a2263103c
parent3e7555a78684a6f3cd8b65032bbfd6f898485bc3
mac80211: fix remain-on-channel cancellation

Ilan's previous commit 86caf5a69a51 ("mac80211: handle HW
ROC expired properly") neglected to take into account that
hw_begun was now always set in the software implementation
as well as the offloaded case.

Fix hw_begun to only apply to the offloaded case to make
the check in Ilan's commit safe and correct.

Reported-by: Jouni Malinen <j@w1.fi>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/offchannel.c