diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00dev.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00dev.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c index 330ab77902f7..5278ae2e374c 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c | |||
@@ -1014,21 +1014,11 @@ int rt2x00lib_start(struct rt2x00_dev *rt2x00dev) | |||
1014 | if (retval) | 1014 | if (retval) |
1015 | return retval; | 1015 | return retval; |
1016 | 1016 | ||
1017 | /* | ||
1018 | * Enable radio. | ||
1019 | */ | ||
1020 | retval = rt2x00lib_enable_radio(rt2x00dev); | ||
1021 | if (retval) { | ||
1022 | rt2x00lib_uninitialize(rt2x00dev); | ||
1023 | return retval; | ||
1024 | } | ||
1025 | |||
1026 | rt2x00dev->intf_ap_count = 0; | 1017 | rt2x00dev->intf_ap_count = 0; |
1027 | rt2x00dev->intf_sta_count = 0; | 1018 | rt2x00dev->intf_sta_count = 0; |
1028 | rt2x00dev->intf_associated = 0; | 1019 | rt2x00dev->intf_associated = 0; |
1029 | 1020 | ||
1030 | set_bit(DEVICE_STATE_STARTED, &rt2x00dev->flags); | 1021 | set_bit(DEVICE_STATE_STARTED, &rt2x00dev->flags); |
1031 | set_bit(DEVICE_STATE_DIRTY_CONFIG, &rt2x00dev->flags); | ||
1032 | 1022 | ||
1033 | return 0; | 1023 | return 0; |
1034 | } | 1024 | } |