From: James Prestwood Date: Wed, 12 Jun 2019 19:35:10 +0000 (-0700) Subject: mac80211: notify offchannel expire on mgmt_tx X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ddb754aa31813fd17d8374eba881827e6e2c85c6;p=openwrt%2Fstaging%2Fblogic.git mac80211: notify offchannel expire on mgmt_tx When the offchannel TX wait time expires, send the appropriate event. Signed-off-by: James Prestwood Signed-off-by: Johannes Berg --- 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);