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, 20 May 2009 18:29:53 +0000 (14:29 -0400)
commit875690c378d64d9ee2de15cad8206d3f11ae5096
tree18f7516a6523dc662bb41e23e949d277543a144c
parentfbc9f97bbf5e1eaee562eba93dc60faaff3f3bfa
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/ath5k/phy.c