]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: rtl8192ce: rtl8192cu: rtl8192de: Fix low-gain setting when scanning
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 26 Mar 2012 14:59:48 +0000 (09:59 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Mar 2012 19:07:30 +0000 (15:07 -0400)
commitd3d2b70851894fa9aa2d041af388bd9d8a1a24e1
tree2d9f5f81bfa83eaf21b8bff88aae840324ee279c
parentef6ca1c364a73e3928887a1de81ee178ebd7ffe1
rtlwifi: rtl8192ce: rtl8192cu: rtl8192de: Fix low-gain setting when scanning

In https://bugzilla.redhat.com/show_bug.cgi?id=770207, slowdowns of driver
rtl8192ce are reported. One fix (commit dff2233) has already been applied,
and it helped, but the maximum RX speed would still drop to 1 Mbps. As in
the previous fix, the initial gain was determined to be the problem; however,
the problem arises from a setting of the gain when scans are started.

Driver rtl8192de also has the same code structure - this one is fixed as well.

Reported-and-Tested-by: Ivan Pesin <ivan.pesin@gmail.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8192c/phy_common.c
drivers/net/wireless/rtlwifi/rtl8192de/phy.c