linux/drivers/net/wireless/ath
Oleksij Rempel 14250640cd ath9k_htc: do ani shortcalibratio if we got -ETIMEDOUT
current code will handle -ETIMEDOUT as success which is probalbly wrong.

According to this comment I assume it is safe to handle -ETIMEDOUT as false:
drivers/net/wireless/ath/ath9k/calib.c
290         /*
291          * We timed out waiting for the noisefloor to load, probably due to an
292          * in-progress rx. Simply return here and allow the load plenty of time
293          * to complete before the next calibration interval.  We need to avoid
294          * trying to load -50 (which happens below) while the previous load is
295          * still in progress as this can cause rx deafness. Instead by returning
296          * here, the baseband nf cal will just be capped by our present
297          * noisefloor until the next calibration timer.
298          */

Since no other error wariants are present, this patch is checking only
for (ret <= 0).

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2015-08-25 15:09:57 +03:00
..
ar5523 mac80211: convert HW flags to unsigned long bitmap 2015-06-10 16:05:36 +02:00
ath5k ath5k: use DECLARE_EWMA 2015-08-20 14:10:22 -07:00
ath6kl ath6kl: spell "distribution" correctly in a comment. 2015-07-29 11:14:04 +03:00
ath9k ath9k_htc: do ani shortcalibratio if we got -ETIMEDOUT 2015-08-25 15:09:57 +03:00
ath10k ath10k: fix peer limit enforcement 2015-08-13 14:30:02 +03:00
carl9170 mac80211: convert HW flags to unsigned long bitmap 2015-06-10 16:05:36 +02:00
wcn36xx mac80211: convert HW flags to unsigned long bitmap 2015-06-10 16:05:36 +02:00
wil6210 wil6210: support future boot loaders 2015-08-06 09:44:09 +03:00
ath.h ath9k: Add a new debug flag for FFT spectral scan 2015-05-09 16:46:08 +03:00
debug.c ath: Make ath_opmode_to_string understand OCB mode 2015-08-10 22:21:15 +03:00
dfs_pattern_detector.c Merge ath-next from ath.git 2015-04-28 14:44:19 +03:00
dfs_pattern_detector.h ath: introduce chirp parameter used by DFS 2015-03-05 15:55:16 +02:00
dfs_pri_detector.c ath: DFS - limit number of potential PRI sequences 2015-06-30 15:33:32 +03:00
dfs_pri_detector.h
hw.c
Kconfig
key.c
main.c
Makefile
reg.h
regd_common.h
regd.c
regd.h
spectral_common.h
trace.c
trace.h