diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00dev.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c index 0216096c88cd..b6a5c3481126 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c | |||
@@ -164,9 +164,6 @@ void rt2x00lib_toggle_rx(struct rt2x00_dev *rt2x00dev, int enable) | |||
164 | { | 164 | { |
165 | enum dev_state state = enable ? STATE_RADIO_RX_ON : STATE_RADIO_RX_OFF; | 165 | enum dev_state state = enable ? STATE_RADIO_RX_ON : STATE_RADIO_RX_OFF; |
166 | 166 | ||
167 | if (!test_bit(DEVICE_ENABLED_RADIO, &rt2x00dev->flags)) | ||
168 | return; | ||
169 | |||
170 | /* | 167 | /* |
171 | * When we are disabling the RX, we should also stop the link tuner. | 168 | * When we are disabling the RX, we should also stop the link tuner. |
172 | */ | 169 | */ |