mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
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>
This commit is contained in:
parent
1c38c7f220
commit
ddb754aa31
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue