rtl8187: Fix error in setting OFDM power settings for RTL8187L
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 27 Jan 2009 18:31:23 +0000 (12:31 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 20:46:42 +0000 (15:46 -0500)
commiteb83bbf57429ab80f49b413e3e44d3b19c3fdc5a
tree3b2e6fca21baa42e697a8bf51da00b3cccd6edbc
parente6a271651e9e7810c1802bb8375967f6efa4baea
rtl8187: Fix error in setting OFDM power settings for RTL8187L

After reports of poor performance, a review of the latest vendor driver
(rtl8187_linux_26.1025.0328.2007) for RTL8187L devices was undertaken.

A difference was found in the code used to index the OFDM power tables. When
the Linux driver was changed, my unit works at a much greater range than
before. I think this fixes Bugzilla #12380 and has been tested by at least
two other users.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Tested-by: Martín Ernesto Barreyro <barreyromartin@gmail.com>
Cc: Stable <stable@kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl8187_rtl8225.c