diff options
author | Sujith Manoharan <Sujith.Manoharan@atheros.com> | 2010-12-28 14:28:05 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-04 14:42:59 -0500 |
commit | ff8f59b5bbdf1527235b8c88d859c7d23691324f (patch) | |
tree | 7431f65095cef7dac5815816b0fb4ef8719feac4 /drivers/net/wireless/ath/ath9k/hif_usb.h | |
parent | ee832d3e9e72abf83931205a2f5379944be501c2 (diff) | |
download | blackbird-op-linux-ff8f59b5bbdf1527235b8c88d859c7d23691324f.tar.gz blackbird-op-linux-ff8f59b5bbdf1527235b8c88d859c7d23691324f.zip |
ath9k_htc: Handle pending URBs properly
When doing a channel change, the pending URBs have to be killed
properly on calling htc_stop().
This fixes the probe response timeout seen when sending UDP traffic at
a high rate and running background scan at the same time.
Cc: stable <stable@kernel.org>
Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hif_usb.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hif_usb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.h b/drivers/net/wireless/ath/ath9k/hif_usb.h index e4a5e2e79541..7b9d863d4035 100644 --- a/drivers/net/wireless/ath/ath9k/hif_usb.h +++ b/drivers/net/wireless/ath/ath9k/hif_usb.h @@ -64,6 +64,7 @@ struct tx_buf { }; #define HIF_USB_TX_STOP BIT(0) +#define HIF_USB_TX_FLUSH BIT(1) struct hif_usb_tx { u8 flags; |