diff options
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 811e3ade8c74..b1ea4444065e 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -1905,13 +1905,13 @@ ieee80211_rx_h_mesh_fwding(struct ieee80211_rx_data *rx) | |||
1905 | memset(info, 0, sizeof(*info)); | 1905 | memset(info, 0, sizeof(*info)); |
1906 | info->flags |= IEEE80211_TX_INTFL_NEED_TXPROCESSING; | 1906 | info->flags |= IEEE80211_TX_INTFL_NEED_TXPROCESSING; |
1907 | info->control.vif = &rx->sdata->vif; | 1907 | info->control.vif = &rx->sdata->vif; |
1908 | skb_set_queue_mapping(skb, | 1908 | if (is_multicast_ether_addr(fwd_hdr->addr1)) { |
1909 | ieee80211_select_queue(rx->sdata, fwd_skb)); | ||
1910 | ieee80211_set_qos_hdr(local, skb); | ||
1911 | if (is_multicast_ether_addr(fwd_hdr->addr1)) | ||
1912 | IEEE80211_IFSTA_MESH_CTR_INC(&sdata->u.mesh, | 1909 | IEEE80211_IFSTA_MESH_CTR_INC(&sdata->u.mesh, |
1913 | fwded_mcast); | 1910 | fwded_mcast); |
1914 | else { | 1911 | skb_set_queue_mapping(fwd_skb, |
1912 | ieee80211_select_queue(sdata, fwd_skb)); | ||
1913 | ieee80211_set_qos_hdr(local, fwd_skb); | ||
1914 | } else { | ||
1915 | int err; | 1915 | int err; |
1916 | /* | 1916 | /* |
1917 | * Save TA to addr1 to send TA a path error if a | 1917 | * Save TA to addr1 to send TA a path error if a |