aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/b43/main.c')
-rw-r--r--drivers/net/wireless/b43/main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index 064cbe118882..d7ea671394a8 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -2264,12 +2264,6 @@ static int b43_chip_init(struct b43_wldev *dev)
2264 b43_write16(dev, B43_MMIO_POWERUP_DELAY, 2264 b43_write16(dev, B43_MMIO_POWERUP_DELAY,
2265 dev->dev->bus->chipco.fast_pwrup_delay); 2265 dev->dev->bus->chipco.fast_pwrup_delay);
2266 2266
2267 /* OFDM address caching. */
2268 phy->ofdm_valid = 0;
2269
2270 /* PHY TX errors counter. */
2271 atomic_set(&phy->txerr_cnt, B43_PHY_TX_BADNESS_LIMIT);
2272
2273 err = 0; 2267 err = 0;
2274 b43dbg(dev->wl, "Chip initialized\n"); 2268 b43dbg(dev->wl, "Chip initialized\n");
2275out: 2269out:
@@ -3195,6 +3189,12 @@ static void setup_struct_phy_for_init(struct b43_wldev *dev,
3195 phy->channel = 0xFF; 3189 phy->channel = 0xFF;
3196 3190
3197 phy->hardware_power_control = !!modparam_hwpctl; 3191 phy->hardware_power_control = !!modparam_hwpctl;
3192
3193 /* PHY TX errors counter. */
3194 atomic_set(&phy->txerr_cnt, B43_PHY_TX_BADNESS_LIMIT);
3195
3196 /* OFDM-table address caching. */
3197 phy->ofdmtab_addr_direction = B43_OFDMTAB_DIRECTION_UNKNOWN;
3198} 3198}
3199 3199
3200static void setup_struct_wldev_for_init(struct b43_wldev *dev) 3200static void setup_struct_wldev_for_init(struct b43_wldev *dev)