ath5k: Simplify powertable recalculation
authorBruno Randolf <br1@einfach.org>
Tue, 21 Dec 2010 08:30:20 +0000 (17:30 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Dec 2010 20:43:27 +0000 (15:43 -0500)
commit26c7fc436422de5d6d2b491f777e965e96f5c3a2
treed1baebe86ad6045dbbb23761e46ece44c11a9c5f
parent6dab55bf7eb52ca21d5e6c97b97f70875fe41ddc
ath5k: Simplify powertable recalculation

Let ath5k_hw_txpower() decide if it can re-use the powertable or if it has to
be recalculated instead of passing a 'fast' flag from the outside.

Signed-off-by: Bruno Randolf <br1@einfach.org>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/phy.c