]> git.karo-electronics.de Git - mv-sheeva.git/commit
ath9k_htc: Simplify TX URB management
authorSujith <Sujith.Manoharan@atheros.com>
Fri, 23 Apr 2010 04:58:09 +0000 (10:28 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Apr 2010 18:21:16 +0000 (14:21 -0400)
commitc11d8f89d3b785f3ef987c2d9ee1bfea6f8b3d0f
tree021e219b44265384aca9c7e8ef34066aa889ea49
parentd4cde88c1c025ffa18150ec29e80e456f2a5c65a
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>
drivers/net/wireless/ath/ath9k/hif_usb.c
drivers/net/wireless/ath/ath9k/hif_usb.h