diff options
author | James Prestwood <james.prestwood@linux.intel.com> | 2019-06-12 12:35:10 -0700 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-06-14 16:08:28 +0200 |
commit | ddb754aa31813fd17d8374eba881827e6e2c85c6 (patch) | |
tree | 3dda36355ece93bdda51a986deb61dc858442aba /net/mac80211 | |
parent | 1c38c7f22068b54a7ba5f026a45663c6727ab84c (diff) |
mac80211: notify offchannel expire on mgmt_tx
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>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/offchannel.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/offchannel.c b/net/mac80211/offchannel.c index 8ef4153cd299..91372ea9f65f 100644 --- 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); |