]> git.karo-electronics.de Git - linux-beck.git/commit
ath5k: fix antenna div gc for <= AR5K_SREV_PHY_2413
authorBruno Randolf <br1@einfach.org>
Mon, 28 Jun 2010 02:01:48 +0000 (11:01 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Jun 2010 19:16:19 +0000 (15:16 -0400)
commit6665b54e79d52c813914481783d82398ca2451f6
tree0e112f93491bcb11f3d0574e6629c469f6f51083
parent55d02a47deaa5c4616e9e70e227ea833e263b858
ath5k: fix antenna div gc for <= AR5K_SREV_PHY_2413

In commit 39d5b2c83ca8904b6826a0713263a4e5a9c0730a "ath5k: update
AR5K_PHY_RESTART_DIV_GC values to match masks" i introduced a regression on PHY
chips older than AR5K_SREV_PHY_5413, which caused signal values to be about
10dB less that before. This patch reverts the AR5K_PHY_RESTART_DIV_GC values to
the same values which were effectively used before (without the bitmask
mistake). This brings signal levels back to normal on these PHY chips.

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/phy.c