From: James Prestwood <james.prestwood@linux.intel.com>
To: linux-wireless@vger.kernel.org
Cc: James Prestwood <james.prestwood@linux.intel.com>
Subject: [PATCH 3/3] mac80211: notify offchannel expire on mgmt_tx
Date: Wed, 12 Jun 2019 12:35:10 -0700 [thread overview]
Message-ID: <20190612193510.27680-3-james.prestwood@linux.intel.com> (raw)
In-Reply-To: <20190612193510.27680-1-james.prestwood@linux.intel.com>
Signed-off-by: James Prestwood <james.prestwood@linux.intel.com>
---
net/mac80211/offchannel.c | 5 +++++
1 file changed, 5 insertions(+)
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);
--
2.17.1
next prev parent reply other threads:[~2019-06-12 19:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-12 19:35 [PATCH 1/3] net: wireless: trace: add trace for tx_mgmt_expired James Prestwood
2019-06-12 19:35 ` [PATCH 2/3] nl80211: send event when CMD_FRAME duration expires James Prestwood
2019-06-12 19:35 ` James Prestwood [this message]
2019-06-14 13:42 ` [PATCH 1/3] net: wireless: trace: add trace for tx_mgmt_expired Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190612193510.27680-3-james.prestwood@linux.intel.com \
--to=james.prestwood@linux.intel.com \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox