|
@@ -1886,7 +1886,7 @@ ieee80211_offchan_tx_done(struct ieee80211_work *wk, struct sk_buff *skb)
|
|
* so in that case userspace will have to deal with it.
|
|
* so in that case userspace will have to deal with it.
|
|
*/
|
|
*/
|
|
|
|
|
|
- if (wk->offchan_tx.wait && wk->offchan_tx.frame)
|
|
|
|
|
|
+ if (wk->offchan_tx.wait && !wk->offchan_tx.status)
|
|
cfg80211_mgmt_tx_status(wk->sdata->dev,
|
|
cfg80211_mgmt_tx_status(wk->sdata->dev,
|
|
(unsigned long) wk->offchan_tx.frame,
|
|
(unsigned long) wk->offchan_tx.frame,
|
|
wk->ie, wk->ie_len, false, GFP_KERNEL);
|
|
wk->ie, wk->ie_len, false, GFP_KERNEL);
|