ath9k_htc: Fix CPU usage issue during scan period
authorRajkumar Manoharan <rmanoharan@atheros.com>
Tue, 14 Sep 2010 09:05:55 +0000 (14:35 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 14 Sep 2010 20:14:26 +0000 (16:14 -0400)
commit4a0e8ecca4eeed38d4b3b7a317a3aaab4dd3cacd
treed126055f2277b821e6d15f5d25789312cc54add5
parentcc0de6536e8b70d61948128a9cbf86920066c53d
ath9k_htc: Fix CPU usage issue during scan period

The CPU consumption during the scan period is high, since
the register write go over Interrupt endpoint. On downloading
the firmware to the target, the USB descriptors are
'patched' to change the type of the endpoints from Interrupt
to Bulk.

With this fix, the CPU usage during a scan run comes down to
acceptable levels.

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