Message ID | 20190612193510.27680-3-james.prestwood@linux.intel.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Johannes Berg |
Headers | show |
Series | [1/3] net: wireless: trace: add trace for tx_mgmt_expired | expand |
diff --git a/net/mac80211/offchannel.c b/net/mac80211/offchannel.c index 8ef4153cd299..b07aec5e7da4 100644 --- a/net/mac80211/offchannel.c +++ b/net/mac80211/offchannel.c @@ -202,6 +202,11 @@ 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);
Signed-off-by: James Prestwood <james.prestwood@linux.intel.com> --- net/mac80211/offchannel.c | 5 +++++ 1 file changed, 5 insertions(+)