diff options
Diffstat (limited to 'drivers/net/wireless/b43/main.c')
-rw-r--r-- | drivers/net/wireless/b43/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index 560d1421e679..0d9824c7e28f 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c | |||
@@ -2132,6 +2132,7 @@ static void b43_rate_memory_init(struct b43_wldev *dev) | |||
2132 | switch (dev->phy.type) { | 2132 | switch (dev->phy.type) { |
2133 | case B43_PHYTYPE_A: | 2133 | case B43_PHYTYPE_A: |
2134 | case B43_PHYTYPE_G: | 2134 | case B43_PHYTYPE_G: |
2135 | case B43_PHYTYPE_N: | ||
2135 | b43_rate_memory_write(dev, B43_OFDM_RATE_6MB, 1); | 2136 | b43_rate_memory_write(dev, B43_OFDM_RATE_6MB, 1); |
2136 | b43_rate_memory_write(dev, B43_OFDM_RATE_12MB, 1); | 2137 | b43_rate_memory_write(dev, B43_OFDM_RATE_12MB, 1); |
2137 | b43_rate_memory_write(dev, B43_OFDM_RATE_18MB, 1); | 2138 | b43_rate_memory_write(dev, B43_OFDM_RATE_18MB, 1); |
@@ -2320,6 +2321,8 @@ static void b43_periodic_every60sec(struct b43_wldev *dev) | |||
2320 | { | 2321 | { |
2321 | struct b43_phy *phy = &dev->phy; | 2322 | struct b43_phy *phy = &dev->phy; |
2322 | 2323 | ||
2324 | if (phy->type != B43_PHYTYPE_G) | ||
2325 | return; | ||
2323 | if (!b43_has_hardware_pctl(phy)) | 2326 | if (!b43_has_hardware_pctl(phy)) |
2324 | b43_lo_g_ctl_mark_all_unused(dev); | 2327 | b43_lo_g_ctl_mark_all_unused(dev); |
2325 | if (dev->dev->bus->sprom.boardflags_lo & B43_BFL_RSSI) { | 2328 | if (dev->dev->bus->sprom.boardflags_lo & B43_BFL_RSSI) { |