ath5k: initialize default noise floor
authorBruno Randolf <br1@einfach.org>
Thu, 25 Mar 2010 05:49:31 +0000 (14:49 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 31 Mar 2010 18:39:09 +0000 (14:39 -0400)
commit9d332c82b4cf2e4538450e4af40f073cc5e599ec
tree5f07027012ce74788f1df785f5b393d09f4485fa
parentb4ea449df90684035985a77763fd1d2ff0eb9dad
ath5k: initialize default noise floor

Initialize noise floor variable with a default of -95. This was used
uninitialized in the signal strength (RSSI -> dBm) conversion until the first
noise floor calibration was completed.

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/attach.c