]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ath: Fix ath_dbg access beyond array bound
authorJoe Perches <joe@perches.com>
Fri, 3 Dec 2010 03:12:38 +0000 (19:12 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 7 Dec 2010 21:34:48 +0000 (16:34 -0500)
commita1cbc7a88985976267a851a2e1080578711b3b0d
tree299c4621d0da27789b6f0fdc08bf8c8984236172
parent226afe68fdbd1aa3680158aca0a3631cbd019626
ath: Fix ath_dbg access beyond array bound

ar9300RateSize is not necessarily a power of 4.

Change ar9003_hw_set_target_power_eeprom
to print the targetPowerValT2 array one per line.

ath9k_hw_ar9300_set_txpower repeated the output 4 times per line,
change it to print the targetPowerValT2 value one per line.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c