rtl8192{ce,cu,de,se}: avoid problems because of possible ERFOFF -> ERFSLEEP transition
authorPhilipp Dreimann <philipp@dreimann.net>
Wed, 7 Dec 2011 19:43:31 +0000 (13:43 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Dec 2011 20:09:54 +0000 (15:09 -0500)
commit91ddff8a3b9cc7ac2252aca138220939cf6cc2cf
tree9b8b6bf8a3ceb59ef4514f9e94d824b400640caa
parent15062e6a8524f5977f2cbdf6e3eb2f144262f74e
rtl8192{ce,cu,de,se}: avoid problems because of possible ERFOFF -> ERFSLEEP transition

In drivers rtl8192ce, rtl8192cu, rtl8192se, and rtl8192de, break
statements would allow ppsc->rfpwr_state to be changed to ERFSLEEP
even though the device is actually in ERFOFF.

Signed-off-by: Philipp Dreimann <philipp@dreimann.net>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>
Cc: Chaoming Li <chaoming_li@realsil.com.cn>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8192ce/phy.c
drivers/net/wireless/rtlwifi/rtl8192cu/phy.c
drivers/net/wireless/rtlwifi/rtl8192de/phy.c
drivers/net/wireless/rtlwifi/rtl8192se/phy.c