ath9k_htc: Fix register read through bulk pipe
authorRajkumar Manoharan <rmanoharan@atheros.com>
Thu, 16 Sep 2010 14:26:55 +0000 (19:56 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 16 Sep 2010 19:46:08 +0000 (15:46 -0400)
commit0f529e98498ff1a8bb264958b5fe7c0aa308d5dc
tree72cdac02239c0be521a1bcd89c4e58e4e8664b43
parent2ca27bcff7127da1aa7dd39cd2a6f7cb187e327f
ath9k_htc: Fix register read through bulk pipe

To optimize register read/write operations, the HTC firmwares were patched
to change EP3 and EP4 pipe types from Interrupt to Bulk. So register writes
are submitted as bulk urbs, but register reads are not. Also changing the
register read endpoint pipe as bulk type when URBs are filled improves the
register reads considerably which results in reduced scan time and CPU
utilization.

Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hif_usb.c