diff options
author | John W. Linville <linville@tuxdriver.com> | 2012-07-17 15:31:33 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-07-17 15:31:33 -0400 |
commit | d369f7b2b257ad6369b72d39e2f989833754a9ce (patch) | |
tree | 0092a805f7a152ed161ee8995bb1672a7b74cced /net/mac80211/tx.c | |
parent | 23cb3b2121323443834296a8ecb582b8aeb78d75 (diff) | |
parent | 8a70e7f8f3081770238fbe19f78116af1d4b0652 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r-- | net/mac80211/tx.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index b755e778b0c4..acf712ffb5e6 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -1824,6 +1824,9 @@ netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb, | |||
1824 | /* RA TA mDA mSA AE:DA SA */ | 1824 | /* RA TA mDA mSA AE:DA SA */ |
1825 | mesh_da = mppath->mpp; | 1825 | mesh_da = mppath->mpp; |
1826 | is_mesh_mcast = 0; | 1826 | is_mesh_mcast = 0; |
1827 | } else if (mpath) { | ||
1828 | mesh_da = mpath->dst; | ||
1829 | is_mesh_mcast = 0; | ||
1827 | } else { | 1830 | } else { |
1828 | /* DA TA mSA AE:SA */ | 1831 | /* DA TA mSA AE:SA */ |
1829 | mesh_da = bcast; | 1832 | mesh_da = bcast; |
@@ -2721,7 +2724,7 @@ EXPORT_SYMBOL(ieee80211_get_buffered_bc); | |||
2721 | void ieee80211_tx_skb_tid(struct ieee80211_sub_if_data *sdata, | 2724 | void ieee80211_tx_skb_tid(struct ieee80211_sub_if_data *sdata, |
2722 | struct sk_buff *skb, int tid) | 2725 | struct sk_buff *skb, int tid) |
2723 | { | 2726 | { |
2724 | int ac = ieee802_1d_to_ac[tid]; | 2727 | int ac = ieee802_1d_to_ac[tid & 7]; |
2725 | 2728 | ||
2726 | skb_set_mac_header(skb, 0); | 2729 | skb_set_mac_header(skb, 0); |
2727 | skb_set_network_header(skb, 0); | 2730 | skb_set_network_header(skb, 0); |