diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2011-06-27 09:04:47 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-29 14:53:25 -0400 |
commit | bfc8dfec45237e4c9e28f96fdb91167e7e8ddb96 (patch) | |
tree | 6c6330934418267f984321286daf63de51e8943f /drivers | |
parent | feb90636cc6a99733d3b0b18344b04ca2d2f203e (diff) |
b43: HT-PHY: implement lacking 0x908 PHY reg op
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/b43/phy_ht.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/phy_ht.c b/drivers/net/wireless/b43/phy_ht.c index 42bea3041e57..f09bb6e6307f 100644 --- a/drivers/net/wireless/b43/phy_ht.c +++ b/drivers/net/wireless/b43/phy_ht.c | |||
@@ -104,9 +104,14 @@ static void b43_phy_ht_channel_setup(struct b43_wldev *dev, | |||
104 | 104 | ||
105 | /* TODO: separated function? */ | 105 | /* TODO: separated function? */ |
106 | for (i = 0; i < 3; i++) { | 106 | for (i = 0; i < 3; i++) { |
107 | u16 mask; | ||
107 | u32 tmp = b43_httab_read(dev, B43_HTTAB32(26, 0xE8)); | 108 | u32 tmp = b43_httab_read(dev, B43_HTTAB32(26, 0xE8)); |
108 | 109 | ||
109 | /* TODO: some op on PHY reg 0x908 */ | 110 | if (0) /* FIXME */ |
111 | mask = 0x2 << (i * 4); | ||
112 | else | ||
113 | mask = 0; | ||
114 | b43_phy_mask(dev, B43_PHY_EXTG(0x108), mask); | ||
110 | 115 | ||
111 | b43_httab_write(dev, B43_HTTAB16(7, 0x110 + i), tmp >> 16); | 116 | b43_httab_write(dev, B43_HTTAB16(7, 0x110 + i), tmp >> 16); |
112 | b43_httab_write(dev, B43_HTTAB8(13, 0x63 + (i * 4)), | 117 | b43_httab_write(dev, B43_HTTAB8(13, 0x63 + (i * 4)), |