]> 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)
commit86caf5a69a514cf9b3f5a687049a546045f1a33a
treebb29376f01ce0911321024239375e474a8b4526d
parent11840d114826dab9038774f0c354785804b2763b
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