]> git.karo-electronics.de Git - linux-beck.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)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 12 Dec 2014 11:00:46 +0000 (12:00 +0100)
commit7e6225a1604d0c6aa4140289bf5761868ffc9c83
tree74e1367f353301f9d712edc9882f04854f374fda
parent5fbea33740aeb948422d7b7e8aafbeac362264b2
mac80211: avoid using uninitialized stack data

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