]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitffd81148eaf2d85d01fd193b16eed7550dceddb4
tree5f07027012ce74788f1df785f5b393d09f4485fa
parente155e2d80eb01a0b6a1d1ae319662dc6c7748a77
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