summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/phy_ht.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-06-28 00:08:52 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-06-29 15:11:01 -0400
commite8dec1e99aee468c6fb19f07a2660f9205a70f2c (patch)
tree3ea94d87e2f52e20ee4b583f3d564a3f15b81a56 /drivers/net/wireless/b43/phy_ht.c
parentb4d38db121c19fe94862357763b374e44fc23ebb (diff)
downloadblackbird-op-linux-e8dec1e99aee468c6fb19f07a2660f9205a70f2c.tar.gz
blackbird-op-linux-e8dec1e99aee468c6fb19f07a2660f9205a70f2c.zip
b43: HT-PHY: replace radio routing magic numbers
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/phy_ht.c')
-rw-r--r--drivers/net/wireless/b43/phy_ht.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/phy_ht.c b/drivers/net/wireless/b43/phy_ht.c
index f09bb6e6307f..8df92e12799a 100644
--- a/drivers/net/wireless/b43/phy_ht.c
+++ b/drivers/net/wireless/b43/phy_ht.c
@@ -57,7 +57,7 @@ static void b43_radio_2059_channel_setup(struct b43_wldev *dev,
b43_radio_write(dev, 0x98, e->radio_syn98);
for (i = 0; i < 2; i++) {
- routing = i ? 0x800 : 0x400;
+ routing = i ? R2059_RXRX1 : R2059_TXRX0;
b43_radio_write(dev, routing | 0x4a, e->radio_rxtx4a);
b43_radio_write(dev, routing | 0x58, e->radio_rxtx58);
b43_radio_write(dev, routing | 0x5a, e->radio_rxtx5a);
OpenPOWER on IntegriCloud