b43: N-PHY: Implement Host Flags write during device init
authorGábor Stefanik <netrolller.3d@gmail.com>
Mon, 16 Aug 2010 20:39:14 +0000 (22:39 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Aug 2010 20:28:09 +0000 (16:28 -0400)
Signed-off-by: Gábor Stefanik <netrolller.3d@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/phy_n.c

index 5a725703770cb6d9a01236f0121b052f6cd0cc4b..cb815ccedfb335005c604ffdeb2d883a2585900d 100644 (file)
@@ -1098,7 +1098,8 @@ static void b43_nphy_workarounds(struct b43_wldev *dev)
 
                if (dev->phy.rev < 2) {
                        if (b43_phy_read(dev, B43_NPHY_RXCTL) & 0x2)
-                               ; /*TODO: b43_mhf(dev, 2, 0x0010, 0x0010, 3);*/
+                               b43_hf_write(dev, b43_hf_read(dev) |
+                                               B43_HF_MLADVW);
                } else if (dev->phy.rev == 2) {
                        b43_phy_write(dev, B43_NPHY_CRSCHECK2, 0);
                        b43_phy_write(dev, B43_NPHY_CRSCHECK3, 0);