]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: handle HW ROC expired properly
authorIlan Peer <ilan.peer@intel.com>
Sun, 6 Dec 2015 19:19:15 +0000 (21:19 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 7 Dec 2015 10:06:37 +0000 (11:06 +0100)
commitf529de3615daf32de4c0af2db784532bfd8c8887
treebb29376f01ce0911321024239375e474a8b4526d
parent89942099df9d49d93bf4d654fb6ded2f12db711e
mac80211: handle HW ROC expired properly

In case of HW ROC, when the driver reports that the ROC expired,
it is not sufficient to purge the ROCs based on the remaining
time, as it possible that the device finished the ROC session
before the actual requested duration.

To handle such cases, in case of ROC expired notification from
the driver, complete all the ROCs which are marked with hw_begun,
regardless of the remaining duration.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/offchannel.c