]> git.baikalelectronics.ru Git - kernel.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)
commit765b5b19e282edf279fc4f4545d716b9b79d2ed0
tree021e219b44265384aca9c7e8ef34066aa889ea49
parentfbafd9886ce7c1b5699c813141230aeb4e2f028c
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