diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2010-04-23 04:58:09 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-26 18:21:16 (GMT) |
commit | c11d8f89d3b785f3ef987c2d9ee1bfea6f8b3d0f (patch) | |
tree | 021e219b44265384aca9c7e8ef34066aa889ea49 /drivers/net/wireless/ath/ath9k/hif_usb.h | |
parent | d4cde88c1c025ffa18150ec29e80e456f2a5c65a (diff) | |
download | linux-fsl-qoriq-c11d8f89d3b785f3ef987c2d9ee1bfea6f8b3d0f.tar.xz |
ath9k_htc: Simplify TX URB management
This patch simplifies URB management for transmission,
by removing the 'FLUSH' variable (which is not needed,
since we can determine if the URB has been killed by
looking at the URB status), and also handling the STOP
case properly.
Signed-off-by: Sujith <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, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.h b/drivers/net/wireless/ath/ath9k/hif_usb.h index 7d49a8a..0aca49b6 100644 --- a/drivers/net/wireless/ath/ath9k/hif_usb.h +++ b/drivers/net/wireless/ath/ath9k/hif_usb.h @@ -61,7 +61,6 @@ struct tx_buf { }; #define HIF_USB_TX_STOP BIT(0) -#define HIF_USB_TX_FLUSH BIT(1) struct hif_usb_tx { u8 flags; |