blob: ff957c3041f79f85a1eb91a47b71582602553c23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -1995,6 +1995,7 @@ netdev_tx_t ieee80211_subif_start_xmit(s
goto fail_rcu;
}
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0))
if (unlikely(!multicast && skb->sk &&
skb_shinfo(skb)->tx_flags & SKBTX_WIFI_STATUS)) {
struct sk_buff *orig_skb = skb;
@@ -2023,6 +2024,7 @@ netdev_tx_t ieee80211_subif_start_xmit(s
skb = orig_skb;
}
}
+#endif
/*
* If the skb is shared we need to obtain our own copy.
|