linux/drivers/net/wireless/ath/ath9k
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
..
ahb.c ath9k: Add HW IDs for QCA956x 2015-01-15 14:24:57 +02:00
ani.c ath9k: use one shot read in ath9k_hw_update_mibstats 2015-03-30 11:31:31 +03:00
ani.h
antenna.c
ar953x_initvals.h ath9k: Update QCA953x initvals 2015-01-29 10:33:20 +02:00
ar955x_1p0_initvals.h ath9k: Update AR955x initvals 2015-01-29 10:33:21 +02:00
ar956x_initvals.h ath9k: Add initvals for QCA956x 2015-01-15 14:24:59 +02:00
ar5008_initvals.h
ar5008_phy.c ath9k: split ar5008_hw_spur_mitigate and reuse common code in ar9002_hw_spur_mitigate. 2015-05-26 14:02:45 +03:00
ar9001_initvals.h
ar9002_calib.c ath9k: ar9271_hw_pa_cal: use REG_READ_ARRAY 2015-03-30 11:31:30 +03:00
ar9002_hw.c
ar9002_initvals.h
ar9002_mac.c ath9k: add TPC capability to TX descriptor path 2014-11-25 14:09:56 -05:00
ar9002_phy.c ath9k: split ar5008_hw_spur_mitigate and reuse common code in ar9002_hw_spur_mitigate. 2015-05-26 14:02:45 +03:00
ar9002_phy.h
ar9003_2p2_initvals.h
ar9003_aic.c ath9k: Handle MCI_STATE_AIC_CAL 2015-03-20 08:28:11 +02:00
ar9003_aic.h ath9k: Handle MCI_STATE_AIC_CAL 2015-03-20 08:28:11 +02:00
ar9003_buffalo_initvals.h
ar9003_calib.c ath9k: Enable manual peak detect calibration 2015-01-29 10:33:25 +02:00
ar9003_eeprom.c ath9k: Add QCA956x HW support 2015-01-15 14:25:03 +02:00
ar9003_eeprom.h
ar9003_hw.c ath9k: Register private AIC ops 2015-03-20 08:27:17 +02:00
ar9003_mac.c ath9k: add TPC capability to TX descriptor path 2014-11-25 14:09:56 -05:00
ar9003_mac.h
ar9003_mci.c ath9k: Start AIC calibration during MCI reset 2015-03-20 08:28:14 +02:00
ar9003_mci.h ath9k: Fix GPM initialization 2015-03-03 14:55:24 +02:00
ar9003_paprd.c
ar9003_phy.c ath9k: Add QCA956x HW support 2015-01-15 14:25:03 +02:00
ar9003_phy.h ath9k: Fix register definitions for QCA956x 2015-07-21 18:03:02 +03:00
ar9003_rtt.c ath9k: Fix RTT chainmask usage 2015-03-13 15:19:36 +02:00
ar9003_rtt.h ath9k_hw: make support for PC-OEM cards optional 2014-10-27 14:16:18 -04:00
ar9003_wow.c ath9k: Restart TSF2 timers on wakeup 2015-02-26 14:58:46 +02:00
ar9330_1p1_initvals.h
ar9330_1p2_initvals.h
ar9340_initvals.h
ar9462_2p0_initvals.h
ar9462_2p1_initvals.h
ar9485_initvals.h
ar9565_1p0_initvals.h
ar9565_1p1_initvals.h
ar9580_1p0_initvals.h ath9k: Update AR9580 initvals 2014-10-27 14:16:17 -04:00
ath9k.h ath9k: remove the sched field in struct ath_atx_tid 2015-08-06 10:12:29 +03:00
beacon.c ath9k: fix tracking of enabled AP beacons 2015-03-16 08:34:36 +02:00
btcoex.c ath9k: Fix wlan-active gpio for the AR9003 family 2015-03-03 15:46:56 +02:00
btcoex.h ath9k: Handle MCI_STATE_AIC_CAL_SINGLE 2015-03-20 08:27:20 +02:00
calib.c ath9k: ath9k_hw_loadnf: use REG_RMW 2015-03-30 11:31:32 +03:00
calib.h ath9k: restart hardware after noise floor calibration failure 2014-10-27 14:16:18 -04:00
channel.c ath9k: handle RoC cancel correctly 2015-08-06 10:11:06 +03:00
common-beacon.c Revert "ath9k: Calculate sleep duration" 2014-09-11 14:17:20 -04:00
common-beacon.h
common-debug.c
common-debug.h
common-init.c
common-init.h
common-spectral.c ath9k: Mix the received FFT bins to the random pool 2015-05-09 16:46:18 +03:00
common-spectral.h ath9k: Move processing of FFT frames to different functions 2015-05-09 16:46:11 +03:00
common.c Merge commit '4e6ce4dc7ce71d0886908d55129d5d6482a27ff9' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2014-11-19 15:38:48 -05:00
common.h ath9k: fix tracking of enabled AP beacons 2015-03-16 08:34:36 +02:00
debug_sta.c ath9k: fix build with CONFIG_ATH9K_STATION_STATISTICS=y 2015-08-07 11:21:06 +03:00
debug.c ath9k: make DMA stop related messages debug-only 2015-07-21 16:56:41 +03:00
debug.h ath9k: make DMA stop related messages debug-only 2015-07-21 16:56:41 +03:00
dfs_debug.c
dfs_debug.h
dfs.c ath9k: DFS - add pulse chirp detection for FCC 2015-07-11 19:51:53 +03:00
dfs.h
dynack.c ath9k: fix getting tx duration for dynack 2014-09-30 13:17:48 -04:00
dynack.h ath9k: add dynamic ACK timeout estimation 2014-09-16 16:18:30 -04:00
eeprom_4k.c ath9k: use REG_RMW and rmw buffer in ath9k_hw_4k_set_board_values 2015-03-30 11:31:40 +03:00
eeprom_9287.c ath9k: add power per-rate tables for AR9002 chips 2015-01-15 14:47:06 +02:00
eeprom_def.c ath9k: use REG_RMW and rmw buffer in ath9k_hw_def_set_gain 2015-03-30 11:31:43 +03:00
eeprom.c ath9k: ath9k_hw_analog_shift_rmw: use REG_RMW 2015-03-30 11:31:37 +03:00
eeprom.h
gpio.c ath9k: add extra GPIO led support 2015-04-07 20:15:01 +03:00
hif_usb.c ath9k_htc: Add new USB ID 2015-02-26 15:20:38 +02:00
hif_usb.h
htc_drv_beacon.c ath9k_htc: add support of channel switch 2015-06-15 12:44:34 +03:00
htc_drv_debug.c wireless: use %*pb[l] to print bitmaps including cpumasks and nodemasks 2015-02-13 21:21:38 -08:00
htc_drv_gpio.c ath9k and ath9k_htc: rename variable "led_blink" 2015-01-27 20:06:27 +02:00
htc_drv_init.c ath9k_htc: drv_init: match wait_for_completion_timeout return type 2015-08-13 15:25:46 +03:00
htc_drv_main.c ath9k_htc: do ani shortcalibratio if we got -ETIMEDOUT 2015-08-25 15:09:57 +03:00
htc_drv_txrx.c mac80211: remove support for IFF_PROMISC 2015-04-24 11:14:13 +02:00
htc_hst.c ath9k_htc: match wait_for_completion_timeout return type 2015-08-13 15:25:08 +03:00
htc_hst.h
htc.h ath9k_htc: add support of channel switch 2015-06-15 12:44:34 +03:00
hw-ops.h ath9k: Register private AIC ops 2015-03-20 08:27:17 +02:00
hw.c ath9k: add correct MAC/BB name for ar9561 2015-08-18 09:07:24 +03:00
hw.h ath9k: split ar5008_hw_spur_mitigate and reuse common code in ar9002_hw_spur_mitigate. 2015-05-26 14:02:45 +03:00
init.c ath9k: add fast-xmit support 2015-08-06 10:12:22 +03:00
Kconfig Revert "ath9k: export HW random number generator" 2015-07-31 10:25:16 +03:00
link.c ath9k: match wait_for_completion_timeout return type 2015-08-13 15:27:12 +03:00
mac.c ath9k: Add QCA956x HW support 2015-01-15 14:25:03 +02:00
mac.h ath9k: add TPC capability to TX descriptor path 2014-11-25 14:09:56 -05:00
main.c ath9k: setup rxfilter when offchannel 2015-08-06 10:11:14 +03:00
Makefile Revert "ath9k: export HW random number generator" 2015-07-31 10:25:16 +03:00
mci.c ath9k: Fix GPM initialization 2015-03-03 14:55:24 +02:00
mci.h
pci.c ath9k: Check WOW triggers properly 2015-02-03 15:31:04 +02:00
phy.h
recv.c ath9k: make DMA stop related messages debug-only 2015-07-21 16:56:41 +03:00
reg_aic.h ath9k: Add register definitions for AIC 2015-03-20 08:27:19 +02:00
reg_mci.h ath9k: Mute BT properly 2015-03-03 14:55:27 +02:00
reg_wow.h ath9k: Clear additional WoW events 2015-02-26 14:58:43 +02:00
reg.h ath9k: add extra GPIO led support 2015-04-07 20:15:01 +03:00
tx99.c ath9k: Unify reset API 2014-10-27 14:16:14 -04:00
wmi.c ath9k_htc: wmi: match wait_for_completion_timeout return type 2015-08-13 15:26:19 +03:00
wmi.h ath9k_htc: check seq number instead of cmd id for timeout 2015-04-07 20:07:44 +03:00
wow.c ath9k: Register correct WOW details with mac80211 2015-02-06 08:39:21 +02:00
xmit.c ath9k: remove the sched field in struct ath_atx_tid 2015-08-06 10:12:29 +03:00