diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2010-04-23 08:58:09 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-26 22:21:16 +0400 |
commit | c11d8f89d3b785f3ef987c2d9ee1bfea6f8b3d0f (patch) | |
tree | 021e219b44265384aca9c7e8ef34066aa889ea49 /drivers/net/wireless/ath/ath9k/hif_usb.h | |
parent | d4cde88c1c025ffa18150ec29e80e456f2a5c65a (diff) | |
download | linux-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 7d49a8af420e..0aca49b6fcb6 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; |