ath5k: ignore the return value of ath5k_hw_noise_floor_calibration
authorFelix Fietkau <nbd@openwrt.org>
Mon, 3 Nov 2008 10:27:38 +0000 (11:27 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 21 Nov 2008 16:06:05 +0000 (11:06 -0500)
commit8b0162a3dc5c30e862b7a73da29e32de3170f5e4
treeb37b7930eb666f65a8844e769cc6f861c84c9639
parent6d64360ac56cda95243f15738a06f2a123c663e5
ath5k: ignore the return value of ath5k_hw_noise_floor_calibration

Noise floor calibration occasionally fails on Atheros hardware.
This is not fatal and can happen if there's simply too much
noise on the air. Ignoring the calibration error is the right
thing to do here, because when the error is ignored, the hardware
will still work, whereas if the error causes the driver to bail out
of a bigger configuration function and does not configure the tx
queues or the IMR (as is the case in reset.c), the hw no longer
works properly until the next reset.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/phy.c
drivers/net/wireless/ath5k/reset.c