staging: rtl8723au: rtw_update_ht_cap23a(): Use correct mask when determining 40MHz...
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 3 Jun 2014 21:41:22 +0000 (23:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jun 2014 19:37:34 +0000 (12:37 -0700)
commitb2775415844e89d528a0c40f81caedd6aad595f7
tree993ef60f99d6a7d412d2c67d8252bed88b60a193
parentc2b8047aff855bfbcb5a2ff478465c01bb82fda5
staging: rtl8723au: rtw_update_ht_cap23a(): Use correct mask when determining 40MHz channel location

commit 4dc5f8bab2663b902b9cb0be29198dbbf38aa3fb
Author: Jes Sorensen <Jes.Sorensen@redhat.com>
Date:   Tue May 27 13:43:12 2014 +0200

    staging: rtl8723au: Eliminate struct HT_info_element

    Yet another duplicate version of struct ieee80211_ht_operation

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
introduced a bad error, applying the wrong value as the mask when
determining the location of the 40MHz channel, effectively making it
always determining it as not present. This caused hangs and delays
when running in 40MHz channel mode.

This should get it right.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_mlme.c