]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iwl4965: correctly validate temperature value
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 1 Jun 2011 15:17:57 +0000 (17:17 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Jun 2011 22:05:33 +0000 (15:05 -0700)
commit99117bb2c3c260dceab0ff02c16c03b9e84c5ae8
treebdcf7eadca1059d1f7ac27c6c9f8c1f8740c7545
parent0db9466ed48263ab2951e89240b482912695c4a6
iwl4965: correctly validate temperature value

commit dfe21582ac5ebc460dda98c67e8589dd506d02cd upstream.

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

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/iwlegacy/iwl-4965.c