]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6bbe8003b9bd0ac129954f5d5da198b58fb8a54c
treed126055f2277b821e6d15f5d25789312cc54add5
parentaf886a1d5db8daecfff99e29513951169ee0298c
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