cfg80211: fix faulty variable initialization in ieee80211_amsdu_to_8023s
authorFelix Fietkau <nbd@openwrt.org>
Mon, 8 Feb 2016 13:25:26 +0000 (14:25 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 24 Feb 2016 08:04:37 +0000 (09:04 +0100)
commit2bf0ccc7095e6cf665bbdb7c32c352d24f1ae033
treea8581691203bda7d13255122fb2f6930e443e086
parent0241fa19ef4021c3db6f70b8f08d69f9e21cc043
cfg80211: fix faulty variable initialization in ieee80211_amsdu_to_8023s

reuse_skb is set to true if the code decides to use the last segment.
Fixes a memory leak

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/util.c