diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00usb.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00usb.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.h b/drivers/net/wireless/rt2x00/rt2x00usb.h index e3faca6d2a4f..6aeba71b665b 100644 --- a/drivers/net/wireless/rt2x00/rt2x00usb.h +++ b/drivers/net/wireless/rt2x00/rt2x00usb.h | |||
@@ -404,11 +404,13 @@ void rt2x00usb_kick_queue(struct data_queue *queue); | |||
404 | /** | 404 | /** |
405 | * rt2x00usb_flush_queue - Flush data queue | 405 | * rt2x00usb_flush_queue - Flush data queue |
406 | * @queue: Data queue to stop | 406 | * @queue: Data queue to stop |
407 | * @drop: True to drop all pending frames. | ||
407 | * | 408 | * |
408 | * This will walk through all entries of the queue and kill all | 409 | * This will walk through all entries of the queue and will optionally |
409 | * URB's which were send to the device. | 410 | * kill all URB's which were send to the device, or at least wait until |
411 | * they have been returned from the device.. | ||
410 | */ | 412 | */ |
411 | void rt2x00usb_flush_queue(struct data_queue *queue); | 413 | void rt2x00usb_flush_queue(struct data_queue *queue, bool drop); |
412 | 414 | ||
413 | /** | 415 | /** |
414 | * rt2x00usb_watchdog - Watchdog for USB communication | 416 | * rt2x00usb_watchdog - Watchdog for USB communication |