diff options
author | Felipe Pena <felipensp@gmail.com> | 2013-10-18 20:52:40 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-11-11 14:38:55 -0500 |
commit | 3aef7dde8dcf09e0124f0a2665845a507331972b (patch) | |
tree | 1b3e2d758882496c9f171c898bace64cc6224877 | |
parent | 6264995f864ac7a9c0c721432ed0edfe83d4ee3c (diff) |
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>
-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, | |||
265 | rtlefuse->pwrgroup_ht40 | 265 | rtlefuse->pwrgroup_ht40 |
266 | [RF90_PATH_A][chnl - 1]) { | 266 | [RF90_PATH_A][chnl - 1]) { |
267 | pwrdiff_limit[i] = | 267 | pwrdiff_limit[i] = |
268 | rtlefuse->pwrgroup_ht20 | 268 | rtlefuse->pwrgroup_ht40 |
269 | [RF90_PATH_A][chnl - 1]; | 269 | [RF90_PATH_A][chnl - 1]; |
270 | } | 270 | } |
271 | } else { | 271 | } else { |