1 From: Felix Fietkau <nbd@openwrt.org>
2 Date: Mon, 8 Feb 2016 14:24:36 +0100
3 Subject: [PATCH] cfg80211: fix faulty variable initialization in
4 ieee80211_amsdu_to_8023s
6 reuse_skb is set to true if the code decides to use the last segment.
9 Signed-off-by: Felix Fietkau <nbd@openwrt.org>
12 --- a/net/wireless/util.c
13 +++ b/net/wireless/util.c
14 @@ -676,7 +676,7 @@ void ieee80211_amsdu_to_8023s(struct sk_
16 int offset = 0, remaining, err;
18 - bool reuse_skb = true;
19 + bool reuse_skb = false;
22 if (has_80211_header) {