Commit ddb754aa authored by James Prestwood's avatar James Prestwood Committed by Johannes Berg

mac80211: notify offchannel expire on mgmt_tx

When the offchannel TX wait time expires, send the appropriate event.
Signed-off-by: default avatarJames Prestwood <james.prestwood@linux.intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 1c38c7f2
...@@ -202,6 +202,10 @@ static void ieee80211_roc_notify_destroy(struct ieee80211_roc_work *roc) ...@@ -202,6 +202,10 @@ static void ieee80211_roc_notify_destroy(struct ieee80211_roc_work *roc)
cfg80211_remain_on_channel_expired(&roc->sdata->wdev, cfg80211_remain_on_channel_expired(&roc->sdata->wdev,
roc->cookie, roc->chan, roc->cookie, roc->chan,
GFP_KERNEL); GFP_KERNEL);
else
cfg80211_tx_mgmt_expired(&roc->sdata->wdev,
roc->mgmt_tx_cookie,
roc->chan, GFP_KERNEL);
list_del(&roc->list); list_del(&roc->list);
kfree(roc); kfree(roc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment