summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/hif_usb.h
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2010-04-23 08:58:09 +0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-26 22:21:16 +0400
commitc11d8f89d3b785f3ef987c2d9ee1bfea6f8b3d0f (patch)
tree021e219b44265384aca9c7e8ef34066aa889ea49 /drivers/net/wireless/ath/ath9k/hif_usb.h
parentd4cde88c1c025ffa18150ec29e80e456f2a5c65a (diff)
downloadlinux-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.h1
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;