rtlwifi: rtl8192se: Fix wrong assignment
authorFelipe Pena <felipensp@gmail.com>
Sat, 19 Oct 2013 00:52:40 +0000 (21:52 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2013 18:56:09 +0000 (10:56 -0800)
commitd6843050f97d777d843d113d3214cc04ca31bcca
treea12c5a4ead625f50a69672e02e2f24994097a52c
parentdea4a8294ab66e105ed689e9ea3f2b2c0e0d4101
rtlwifi: rtl8192se: Fix wrong assignment

commit 3aef7dde8dcf09e0124f0a2665845a507331972b upstream.

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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/rtlwifi/rtl8192se/rf.c