projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ath5k: ignore the return value of ath5k_hw_noise_floor_calibration
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
net
/
wireless
/
ath5k
/
phy.c
diff --git
a/drivers/net/wireless/ath5k/phy.c
b/drivers/net/wireless/ath5k/phy.c
index 69625bf4d11c7f1807687f845b5692d42a64338f..7ba18e09463b2ab981712bbfa87766e1a26a7caa 100644
(file)
--- a/
drivers/net/wireless/ath5k/phy.c
+++ b/
drivers/net/wireless/ath5k/phy.c
@@
-2196,9
+2196,7
@@
static int ath5k_hw_rf5110_calibrate(struct ath5k_hw *ah,
return ret;
}
- ret = ath5k_hw_noise_floor_calibration(ah, channel->center_freq);
- if (ret)
- return ret;
+ ath5k_hw_noise_floor_calibration(ah, channel->center_freq);
/*
* Re-enable RX/TX and beacons