blob: 6acea21665de2bdb4edec2ad67fce8d08101f660 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- a/net/wireless/util.c
+++ b/net/wireless/util.c
@@ -638,7 +638,11 @@ void ieee80211_amsdu_to_8023s(struct sk_
u8 *payload;
int offset = 0, remaining;
struct ethhdr eth;
+#if LINUX_VERSION_IS_LESS(3,5,0)
+ bool reuse_frag = 0;
+#else
bool reuse_frag = skb->head_frag && !skb_has_frag_list(skb);
+#endif
bool reuse_skb = false;
bool last = false;
|