Re: [PATCH 1/1] wireless: mac80211: Avoid using uninitialized stack data

2014-12-12 Thread Johannes Berg
On Wed, 2014-12-10 at 14:14 -0500, jes.soren...@redhat.com wrote: From: Jes Sorensen jes.soren...@redhat.com Avoid case where we would access uninitialized stack data if a driver advertises HT support without 40MHz channel support. I've fixed the commit message (it's actually in the check

Re: [PATCH 1/1] wireless: mac80211: Avoid using uninitialized stack data

2014-12-12 Thread Jes Sorensen
Johannes Berg johan...@sipsolutions.net writes: On Wed, 2014-12-10 at 14:14 -0500, jes.soren...@redhat.com wrote: From: Jes Sorensen jes.soren...@redhat.com Avoid case where we would access uninitialized stack data if a driver advertises HT support without 40MHz channel support. I've fixed

Re: [PATCH 1/1] wireless: mac80211: Avoid using uninitialized stack data

2014-12-11 Thread Johannes Berg
On Wed, 2014-12-10 at 14:14 -0500, jes.soren...@redhat.com wrote: From: Jes Sorensen jes.soren...@redhat.com Avoid case where we would access uninitialized stack data if a driver advertises HT support without 40MHz channel support. ret = IEEE80211_STA_DISABLE_40MHZ; +

[PATCH 1/1] wireless: mac80211: Avoid using uninitialized stack data

2014-12-11 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com Disable VHT in case driver advertises HT support without 40MHz+ channel support, in order to avoid accessing uninitialized stack data. Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- net/mac80211/mlme.c | 2 +- 1 file changed, 1 insertion(+), 1