]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: use ath9k_hw_update_regulatory_maxpower in ath9k_hw_def_set_txpower
authorGabor Juhos <juhosg@openwrt.org>
Sat, 14 Apr 2012 18:35:19 +0000 (20:35 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Apr 2012 18:38:51 +0000 (14:38 -0400)
commit2c5ebb62ef3d32247a9d674abdcf968ba74fba26
tree619f8873b1e2fc1914d59728b71ebc96ec137440
parent3dc87c75555b9c871ad926817bf47e7508a4bb97
ath9k: use ath9k_hw_update_regulatory_maxpower in ath9k_hw_def_set_txpower

We have a helper function for updating the max_power_level
value. Use that and remove the duplicated code.

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