]> git.ipfire.org Git - people/ms/linux.git/commit
mac80211: avoid using uninitialized stack data
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 10 Dec 2014 19:14:07 +0000 (14:14 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2015 18:30:23 +0000 (10:30 -0800)
commit83a67ffcf1b3130151fe8b462b70b46106f689f6
treeacb1bd1189f30b7753118a4b2a617b3744fe805e
parent0a6626aa24f5edf7a0e3db92015565f79d8bb466
mac80211: avoid using uninitialized stack data

commit 7e6225a1604d0c6aa4140289bf5761868ffc9c83 upstream.

Avoid a case where we would access uninitialized stack data if the AP
advertises HT support without 40MHz channel support.

Fixes: f3000e1b43f1 ("mac80211: fix broken use of VHT/20Mhz with some APs")
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/mlme.c