ath5k: Skip powertable setting when we are on the same channel
authorNick Kossifidis <mickflemm@gmail.com>
Tue, 23 Nov 2010 19:37:30 +0000 (21:37 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Nov 2010 18:53:24 +0000 (13:53 -0500)
commit4c57581d939fd0f8f244b9730812069f4dac308a
treecdfc21a950e833854509518f36453317dace5bd3
parentf08fbf6cf4a31c8df52b21440c7a7e6fbe474b28
ath5k: Skip powertable setting when we are on the same channel

 * Only set power table if we are changing channel/mode
 there is no need to recalculate and reset the power table
 all the time.

Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/phy.c