]> 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)
commite752bc84b9de664052e7fd06773b97f28cef36e6
tree81e87156ceb04fe977ea506bf58d977a2263103c
parent0ce645d83133d196dec48d81e56e10f14766944b
mac80211: fix remain-on-channel cancellation

Ilan's previous commit f529de3615da ("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