]> git.karo-electronics.de Git - linux-beck.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)
commit1b894521e60c1b91db1e8ba1278660e5c89f1b5f
treebb29376f01ce0911321024239375e474a8b4526d
parent641cf2a5ba0345c01f4eb1ca2980372415c2a5e1
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