From: Stanislaw Gruszka Date: Thu, 25 Oct 2012 07:51:39 +0000 (+0200) Subject: rt2800: validate step value for temperature compensation X-Git-Tag: v3.7-rc4~5^2~20^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf7e1abe434ba9e22e8dc04a4cba4ab504b788b8;p=pandora-kernel.git rt2800: validate step value for temperature compensation Some hardware has correct (!= 0xff) value of tssi_bounds[4] in the EEPROM, but step is equal to 0xff. This results on ridiculous delta calculations and completely broke TX power settings. Reported-and-tested-by: Pavel Lucik Cc: stable@vger.kernel.org Signed-off-by: Stanislaw Gruszka Acked-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed