mac80211: avoid using uninitialized stack data
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 10 Dec 2014 19:14:07 +0000 (14:14 -0500)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 12 Dec 2014 11:00:46 +0000 (12:00 +0100)
Avoid a case where we would access uninitialized stack data if the AP
advertises HT support without 40MHz channel support.

Cc: stable@vger.kernel.org
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>
net/mac80211/mlme.c

Simple merge