mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
Merge remote-tracking branch 'wireless-next/master' into mac80211-next
This commit is contained in:
commit
a42c74ee60
519 changed files with 36506 additions and 8320 deletions
|
@ -2679,7 +2679,19 @@ ieee80211_rx_h_action_return(struct ieee80211_rx_data *rx)
|
|||
|
||||
memset(nskb->cb, 0, sizeof(nskb->cb));
|
||||
|
||||
ieee80211_tx_skb(rx->sdata, nskb);
|
||||
if (rx->sdata->vif.type == NL80211_IFTYPE_P2P_DEVICE) {
|
||||
struct ieee80211_tx_info *info = IEEE80211_SKB_CB(nskb);
|
||||
|
||||
info->flags = IEEE80211_TX_CTL_TX_OFFCHAN |
|
||||
IEEE80211_TX_INTFL_OFFCHAN_TX_OK |
|
||||
IEEE80211_TX_CTL_NO_CCK_RATE;
|
||||
if (local->hw.flags & IEEE80211_HW_QUEUE_CONTROL)
|
||||
info->hw_queue =
|
||||
local->hw.offchannel_tx_hw_queue;
|
||||
}
|
||||
|
||||
__ieee80211_tx_skb_tid_band(rx->sdata, nskb, 7,
|
||||
status->band);
|
||||
}
|
||||
dev_kfree_skb(rx->skb);
|
||||
return RX_QUEUED;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue