diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00dev.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00dev.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c index 1e07c3938cb3..6dc4f63aef0a 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c | |||
@@ -104,8 +104,7 @@ int rt2x00lib_enable_radio(struct rt2x00_dev *rt2x00dev) | |||
104 | * And check if the hardware button has been disabled. | 104 | * And check if the hardware button has been disabled. |
105 | */ | 105 | */ |
106 | if (test_bit(DEVICE_ENABLED_RADIO, &rt2x00dev->flags) || | 106 | if (test_bit(DEVICE_ENABLED_RADIO, &rt2x00dev->flags) || |
107 | (test_bit(CONFIG_SUPPORT_HW_BUTTON, &rt2x00dev->flags) && | 107 | test_bit(DEVICE_DISABLED_RADIO_HW, &rt2x00dev->flags)) |
108 | !test_bit(DEVICE_ENABLED_RADIO_HW, &rt2x00dev->flags))) | ||
109 | return 0; | 108 | return 0; |
110 | 109 | ||
111 | /* | 110 | /* |