diff options
-rw-r--r-- | net/mac80211/tx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 2f8182dc94a..c54db966926 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -1935,11 +1935,13 @@ netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb, | |||
1935 | h_pos += encaps_len; | 1935 | h_pos += encaps_len; |
1936 | } | 1936 | } |
1937 | 1937 | ||
1938 | #ifdef CONFIG_MAC80211_MESH | ||
1938 | if (meshhdrlen > 0) { | 1939 | if (meshhdrlen > 0) { |
1939 | memcpy(skb_push(skb, meshhdrlen), &mesh_hdr, meshhdrlen); | 1940 | memcpy(skb_push(skb, meshhdrlen), &mesh_hdr, meshhdrlen); |
1940 | nh_pos += meshhdrlen; | 1941 | nh_pos += meshhdrlen; |
1941 | h_pos += meshhdrlen; | 1942 | h_pos += meshhdrlen; |
1942 | } | 1943 | } |
1944 | #endif | ||
1943 | 1945 | ||
1944 | if (ieee80211_is_data_qos(fc)) { | 1946 | if (ieee80211_is_data_qos(fc)) { |
1945 | __le16 *qos_control; | 1947 | __le16 *qos_control; |