diff options
author | Felipe Pena <felipensp@gmail.com> | 2013-10-19 02:52:40 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-11-11 20:38:55 +0100 |
commit | 3aef7dde8dcf09e0124f0a2665845a507331972b (patch) | |
tree | 1b3e2d758882496c9f171c898bace64cc6224877 /drivers | |
parent | wireless: rt2800lib: Fix typo on checking (diff) | |
download | linux-3aef7dde8dcf09e0124f0a2665845a507331972b.tar.xz linux-3aef7dde8dcf09e0124f0a2665845a507331972b.zip |
rtlwifi: rtl8192se: Fix wrong assignment
There is a typo in the struct member name on assignment when checking
rtlphy->current_chan_bw == HT_CHANNEL_WIDTH_20_40, the check uses pwrgroup_ht40
for bound limit and uses pwrgroup_ht20 when assigning instead.
Signed-off-by: Felipe Pena <felipensp@gmail.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: stable@vger.kernel.org [3.0+]
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192se/rf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192se/rf.c b/drivers/net/wireless/rtlwifi/rtl8192se/rf.c index 5061f1db3f02..92d38ab3c60e 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192se/rf.c +++ b/drivers/net/wireless/rtlwifi/rtl8192se/rf.c @@ -265,7 +265,7 @@ static void _rtl92s_get_txpower_writeval_byregulatory(struct ieee80211_hw *hw, rtlefuse->pwrgroup_ht40 [RF90_PATH_A][chnl - 1]) { pwrdiff_limit[i] = - rtlefuse->pwrgroup_ht20 + rtlefuse->pwrgroup_ht40 [RF90_PATH_A][chnl - 1]; } } else { |