diff options
Diffstat (limited to 'drivers/net/wireless/b43/main.c')
-rw-r--r-- | drivers/net/wireless/b43/main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index 5058e60e5703..c9778c6cf2e8 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c | |||
@@ -3661,7 +3661,6 @@ static int b43_setup_modes(struct b43_wldev *dev, | |||
3661 | 3661 | ||
3662 | static void b43_wireless_core_detach(struct b43_wldev *dev) | 3662 | static void b43_wireless_core_detach(struct b43_wldev *dev) |
3663 | { | 3663 | { |
3664 | b43_rfkill_free(dev); | ||
3665 | /* We release firmware that late to not be required to re-request | 3664 | /* We release firmware that late to not be required to re-request |
3666 | * is all the time when we reinit the core. */ | 3665 | * is all the time when we reinit the core. */ |
3667 | b43_release_firmware(dev); | 3666 | b43_release_firmware(dev); |
@@ -3747,7 +3746,6 @@ static int b43_wireless_core_attach(struct b43_wldev *dev) | |||
3747 | if (!wl->current_dev) | 3746 | if (!wl->current_dev) |
3748 | wl->current_dev = dev; | 3747 | wl->current_dev = dev; |
3749 | INIT_WORK(&dev->restart_work, b43_chip_reset); | 3748 | INIT_WORK(&dev->restart_work, b43_chip_reset); |
3750 | b43_rfkill_alloc(dev); | ||
3751 | 3749 | ||
3752 | b43_radio_turn_off(dev, 1); | 3750 | b43_radio_turn_off(dev, 1); |
3753 | b43_switch_analog(dev, 0); | 3751 | b43_switch_analog(dev, 0); |