projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c38c7f
)
mac80211: notify offchannel expire on mgmt_tx
author
James Prestwood
<james.prestwood@linux.intel.com>
Wed, 12 Jun 2019 19:35:10 +0000
(12:35 -0700)
committer
Johannes Berg
<johannes.berg@intel.com>
Fri, 14 Jun 2019 14:08:28 +0000
(16:08 +0200)
When the offchannel TX wait time expires, send the appropriate event.
Signed-off-by: James Prestwood <james.prestwood@linux.intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/offchannel.c
patch
|
blob
|
history
diff --git
a/net/mac80211/offchannel.c
b/net/mac80211/offchannel.c
index 8ef4153cd2994a73b4be5733a1dc12e9fa329640..91372ea9f65fca14496700955b87741a07b52152 100644
(file)
--- a/
net/mac80211/offchannel.c
+++ b/
net/mac80211/offchannel.c
@@
-202,6
+202,10
@@
static void ieee80211_roc_notify_destroy(struct ieee80211_roc_work *roc)
cfg80211_remain_on_channel_expired(&roc->sdata->wdev,
roc->cookie, roc->chan,
GFP_KERNEL);
+ else
+ cfg80211_tx_mgmt_expired(&roc->sdata->wdev,
+ roc->mgmt_tx_cookie,
+ roc->chan, GFP_KERNEL);
list_del(&roc->list);
kfree(roc);