ath5k: fix interpolation with equal power levels
authorFabio Rossi <rossi.f@inwind.it>
Wed, 1 Apr 2009 18:37:50 +0000 (20:37 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:40 +0000 (16:54 -0400)
commit64cdb0e3b8a5e5393cb64328ce0c844b7cf3a40e
tree8aa51befebba5c8201316054f234ff60d986ce94
parent910cfee363feda81cd5af4939ed9e0d27677b43f
ath5k: fix interpolation with equal power levels

When the EEPROM contains weird values for the power levels we have to
fix the interpolation process.

Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/phy.c