diff options
author | John W. Linville <linville@tuxdriver.com> | 2013-03-29 16:41:36 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-03-29 16:41:36 -0400 |
commit | 9a574cd67a447059f9c14bbef47873315d7f7b35 (patch) | |
tree | 0ebb71d213d868d8884b1fa0e05b7393c66c665b /net/mac80211/rx.c | |
parent | 689b66cb53fbb5d567aa4e095eaa828aff73aef0 (diff) | |
parent | 2e1253d640eb7f8707d2591c93097c1e9f9c71d5 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
Conflicts:
net/mac80211/sta_info.c
net/wireless/core.h
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 5b4492af4e85..2528b5a4d6d4 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -2666,7 +2666,19 @@ ieee80211_rx_h_action_return(struct ieee80211_rx_data *rx) | |||
2666 | 2666 | ||
2667 | memset(nskb->cb, 0, sizeof(nskb->cb)); | 2667 | memset(nskb->cb, 0, sizeof(nskb->cb)); |
2668 | 2668 | ||
2669 | ieee80211_tx_skb(rx->sdata, nskb); | 2669 | if (rx->sdata->vif.type == NL80211_IFTYPE_P2P_DEVICE) { |
2670 | struct ieee80211_tx_info *info = IEEE80211_SKB_CB(nskb); | ||
2671 | |||
2672 | info->flags = IEEE80211_TX_CTL_TX_OFFCHAN | | ||
2673 | IEEE80211_TX_INTFL_OFFCHAN_TX_OK | | ||
2674 | IEEE80211_TX_CTL_NO_CCK_RATE; | ||
2675 | if (local->hw.flags & IEEE80211_HW_QUEUE_CONTROL) | ||
2676 | info->hw_queue = | ||
2677 | local->hw.offchannel_tx_hw_queue; | ||
2678 | } | ||
2679 | |||
2680 | __ieee80211_tx_skb_tid_band(rx->sdata, nskb, 7, | ||
2681 | status->band); | ||
2670 | } | 2682 | } |
2671 | dev_kfree_skb(rx->skb); | 2683 | dev_kfree_skb(rx->skb); |
2672 | return RX_QUEUED; | 2684 | return RX_QUEUED; |