diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2013-03-31 23:12:42 +0200 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2013-03-31 23:12:42 +0200 |
commit | cf2b28bd1642305515171f6d70b9f033c4e064e5 (patch) | |
tree | c8dd3ece975ea57d009ff08be3cb9d63bf46f6a5 /patches/collateral-evolutions/network/12-mac80211-disable-tx-status/net_mac80211_tx.patch | |
parent | 445920189178de0b338fc5fa6f3d52035f58c778 (diff) |
rename patch files to .patch
They can be named after the C files they apply to,
but they should still be named .patch.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Diffstat (limited to 'patches/collateral-evolutions/network/12-mac80211-disable-tx-status/net_mac80211_tx.patch')
-rw-r--r-- | patches/collateral-evolutions/network/12-mac80211-disable-tx-status/net_mac80211_tx.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/collateral-evolutions/network/12-mac80211-disable-tx-status/net_mac80211_tx.patch b/patches/collateral-evolutions/network/12-mac80211-disable-tx-status/net_mac80211_tx.patch new file mode 100644 index 00000000..f5aeb836 --- /dev/null +++ b/patches/collateral-evolutions/network/12-mac80211-disable-tx-status/net_mac80211_tx.patch @@ -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. |