diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2010-08-22 15:47:32 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-08-25 14:33:20 -0400 |
commit | 049fbfeeb5c7edb260848a89af4895e3dabfa77e (patch) | |
tree | f9ae377182f99cf7a77820559560f1cbe8d03363 /drivers/net/wireless/b43/phy_n.c | |
parent | 5effdf18aa10c3683094140cf893c399d581d39f (diff) |
b43: N-PHY: add missing phyrxchain setting and fix warning in RX core function
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_n.c')
-rw-r--r-- | drivers/net/wireless/b43/phy_n.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c index a0a6554a76d1..5f0ce35bbe27 100644 --- a/drivers/net/wireless/b43/phy_n.c +++ b/drivers/net/wireless/b43/phy_n.c | |||
@@ -3092,6 +3092,8 @@ static void b43_nphy_set_rx_core_state(struct b43_wldev *dev, u8 mask) | |||
3092 | struct b43_phy_n *nphy = phy->n; | 3092 | struct b43_phy_n *nphy = phy->n; |
3093 | u16 buf[16]; | 3093 | u16 buf[16]; |
3094 | 3094 | ||
3095 | nphy->phyrxchain = mask; | ||
3096 | |||
3095 | if (0 /* FIXME clk */) | 3097 | if (0 /* FIXME clk */) |
3096 | return; | 3098 | return; |
3097 | 3099 | ||
@@ -3103,7 +3105,7 @@ static void b43_nphy_set_rx_core_state(struct b43_wldev *dev, u8 mask) | |||
3103 | b43_phy_maskset(dev, B43_NPHY_RFSEQCA, ~B43_NPHY_RFSEQCA_RXEN, | 3105 | b43_phy_maskset(dev, B43_NPHY_RFSEQCA, ~B43_NPHY_RFSEQCA_RXEN, |
3104 | (mask & 0x3) << B43_NPHY_RFSEQCA_RXEN_SHIFT); | 3106 | (mask & 0x3) << B43_NPHY_RFSEQCA_RXEN_SHIFT); |
3105 | 3107 | ||
3106 | if (mask & 0x3 != 0x3) { | 3108 | if ((mask & 0x3) != 0x3) { |
3107 | b43_phy_write(dev, B43_NPHY_HPANT_SWTHRES, 1); | 3109 | b43_phy_write(dev, B43_NPHY_HPANT_SWTHRES, 1); |
3108 | if (dev->phy.rev >= 3) { | 3110 | if (dev->phy.rev >= 3) { |
3109 | /* TODO */ | 3111 | /* TODO */ |