]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ath9k: optimize power level initialization for CTL_[25]GHT20
authorGabor Juhos <juhosg@openwrt.org>
Thu, 2 Aug 2012 14:00:51 +0000 (16:00 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Aug 2012 19:12:43 +0000 (15:12 -0400)
commit5fc512439f7a235e6b0ae05e42fa7d875fff3849
tree70f9b27d4d3e6c0d0be4735a6abe41e2917062a7
parentda93c26d0b26139f33cebf9af55715452a10f374
ath9k: optimize power level initialization for CTL_[25]GHT20

The first part of the power array is initialized in a loop
and the last two values are initialized separately. Extend
the loop to cover the last two items, and remove the separate
initialization.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c