]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_htc: Optimize HTC start/stop API
authorSujith Manoharan <Sujith.Manoharan@atheros.com>
Wed, 13 Apr 2011 05:56:06 +0000 (11:26 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 13 Apr 2011 19:24:12 +0000 (15:24 -0400)
commit964a51f9f5dc115256303f8fe16d130869a04653
tree41697a62feb8438f2cc74b9d92d7d73e0c23df0d
parentaca3bb92af6ee7fa7743877420d1f01f907de6ea
ath9k_htc: Optimize HTC start/stop API

There is no point in looping over all the endpoints,
since the HIF layer uses the start/stop APIs only
for the TX pipe. Simplify the API accordingly.

Signed-off-by: Sujith Manoharan <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/htc_hst.c
drivers/net/wireless/ath/ath9k/htc_hst.h