diff options
Diffstat (limited to 'patches/collateral-evolutions/network/12-mac80211-disable-tx-status/net_mac80211_tx.c')
-rw-r--r-- | patches/collateral-evolutions/network/12-mac80211-disable-tx-status/net_mac80211_tx.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/collateral-evolutions/network/12-mac80211-disable-tx-status/net_mac80211_tx.c b/patches/collateral-evolutions/network/12-mac80211-disable-tx-status/net_mac80211_tx.c new file mode 100644 index 00000000..f5aeb836 --- /dev/null +++ b/patches/collateral-evolutions/network/12-mac80211-disable-tx-status/net_mac80211_tx.c @@ -0,0 +1,18 @@ +--- a/net/mac80211/tx.c ++++ b/net/mac80211/tx.c +@@ -2035,6 +2035,7 @@ + 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; +@@ -2063,6 +2064,7 @@ + skb = orig_skb; + } + } ++#endif + + /* + * If the skb is shared we need to obtain our own copy. |