rtlwifi: rtl8192se: Fix wrong assignment
authorFelipe Pena <felipensp@gmail.com>
Sat, 19 Oct 2013 00:52:40 +0000 (21:52 -0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Nov 2013 19:38:55 +0000 (14:38 -0500)
commit3aef7dde8dcf09e0124f0a2665845a507331972b
tree1b3e2d758882496c9f171c898bace64cc6224877
parent6264995f864ac7a9c0c721432ed0edfe83d4ee3c
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>
drivers/net/wireless/rtlwifi/rtl8192se/rf.c