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 19:05:22 +0000 (11:05 -0800)
commitb11e2eb87e48dbb6a7c7ee74312c7bd5c815fe05
treece79250048f2b74fcde3100b8d8851a11e716f6a
parentfb1f1a73d489f6e3f3e04d3e3710aee80f7ff9a5
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