]> git.baikalelectronics.ru Git - kernel.git/commit
iwl4965: correctly validate temperature value
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 1 Jun 2011 15:17:57 +0000 (17:17 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 1 Jun 2011 18:41:13 +0000 (14:41 -0400)
commitc5de661af2a8b8d2c8cb6e3bc74ebc3e62d45f20
tree76fe13dd7d63a378d432ac98b62015fcae38a2e3
parent168551f20e030b67013eb35fcb372923c6c213cd
iwl4965: correctly validate temperature value

In some cases we can read wrong temperature value. If after that
temperature value will not be updated to good one, we badly configure
tx power parameters and device is unable to send a data.

Resolves:
https://bugzilla.kernel.org/show_bug.cgi?id=35932

Cc: stable@kernel.org # 2.6.39+
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/iwl-4965.c