diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800usb.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c index ee51936d8d1b..60b550313688 100644 --- a/drivers/net/wireless/rt2x00/rt2800usb.c +++ b/drivers/net/wireless/rt2x00/rt2800usb.c | |||
@@ -254,12 +254,6 @@ static int rt2800usb_set_device_state(struct rt2x00_dev *rt2x00dev, | |||
254 | rt2800usb_disable_radio(rt2x00dev); | 254 | rt2800usb_disable_radio(rt2x00dev); |
255 | rt2800usb_set_state(rt2x00dev, STATE_SLEEP); | 255 | rt2800usb_set_state(rt2x00dev, STATE_SLEEP); |
256 | break; | 256 | break; |
257 | case STATE_RADIO_RX_ON: | ||
258 | rt2800usb_start_queue(rt2x00dev->rx); | ||
259 | break; | ||
260 | case STATE_RADIO_RX_OFF: | ||
261 | rt2800usb_stop_queue(rt2x00dev->rx); | ||
262 | break; | ||
263 | case STATE_RADIO_IRQ_ON: | 257 | case STATE_RADIO_IRQ_ON: |
264 | case STATE_RADIO_IRQ_ON_ISR: | 258 | case STATE_RADIO_IRQ_ON_ISR: |
265 | case STATE_RADIO_IRQ_OFF: | 259 | case STATE_RADIO_IRQ_OFF: |
@@ -626,12 +620,13 @@ static const struct rt2x00lib_ops rt2800usb_rt2x00_ops = { | |||
626 | .reset_tuner = rt2800_reset_tuner, | 620 | .reset_tuner = rt2800_reset_tuner, |
627 | .link_tuner = rt2800_link_tuner, | 621 | .link_tuner = rt2800_link_tuner, |
628 | .watchdog = rt2800usb_watchdog, | 622 | .watchdog = rt2800usb_watchdog, |
623 | .start_queue = rt2800usb_start_queue, | ||
624 | .kick_queue = rt2x00usb_kick_queue, | ||
625 | .stop_queue = rt2800usb_stop_queue, | ||
629 | .write_tx_desc = rt2800usb_write_tx_desc, | 626 | .write_tx_desc = rt2800usb_write_tx_desc, |
630 | .write_tx_data = rt2800usb_write_tx_data, | 627 | .write_tx_data = rt2800usb_write_tx_data, |
631 | .write_beacon = rt2800_write_beacon, | 628 | .write_beacon = rt2800_write_beacon, |
632 | .get_tx_data_len = rt2800usb_get_tx_data_len, | 629 | .get_tx_data_len = rt2800usb_get_tx_data_len, |
633 | .kick_tx_queue = rt2x00usb_kick_tx_queue, | ||
634 | .kill_tx_queue = rt2800usb_stop_queue, | ||
635 | .fill_rxdone = rt2800usb_fill_rxdone, | 630 | .fill_rxdone = rt2800usb_fill_rxdone, |
636 | .config_shared_key = rt2800_config_shared_key, | 631 | .config_shared_key = rt2800_config_shared_key, |
637 | .config_pairwise_key = rt2800_config_pairwise_key, | 632 | .config_pairwise_key = rt2800_config_pairwise_key, |