linux_dsm_epyc7002/drivers/net/wireless
Brian Norris 9ae3fbd109 mwifiex: reset timeout flag when resetting device
If we reset because of a command timeout, we should reset this flag.
Otherwise, we might erroneously think the next command after reset is
timing out, and trigger another reset.

The above behavior effectively neuters the automatic card_reset()
behavior, as it means we will never recover from a command timeout
properly (and in fact, we might enter an infinite loop:

  timeout -> reset -> (fake) timeout -> reset -> ...

This fixes a bug introduced with introduction of PCIe function level
reset support, but it was carried into the SDIO driver when it was
converted to use the same codepaths. And this is currently mostly a
problem only in the SDIO driver, because it's the only one with
automatic card_reset() support (e.g., on command timeout). But it will
be a problem for PCIe too, as I'm working on supporting automatic
card_reset() for PCIe.

Fixes: c742e623e9 ("mwifiex: sdio card reset enhancement")
Fixes: 4c5dae59d2 ("mwifiex: add PCIe function level reset support")
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2017-04-20 10:21:52 +03:00
..
admtek adm80211: return an error if adm8211_alloc_rings() fails 2016-12-30 13:29:21 +02:00
ath wireless-drivers-next patches for 4.12 2017-04-09 18:13:12 -07:00
atmel atmel: remove time_t usage 2017-03-20 18:43:17 +02:00
broadcom brcmfmac: only build fwsignal module for CONFIG_BRCMFMAC_PROTO_BCDC 2017-04-19 14:39:44 +03:00
cisco net: use core MTU range checking in wireless drivers 2016-10-20 14:51:08 -04:00
intel Patches intended for v4.12: 2017-04-18 09:41:45 +03:00
intersil sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
marvell mwifiex: reset timeout flag when resetting device 2017-04-20 10:21:52 +03:00
mediatek Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
ralink rt2x00: reverse external PA capability flag logic 2017-04-13 17:12:32 +03:00
realtek rtlwifi: btcoex: 21a 1ant: avoid LPS/IPS mismatch for pnp notify 2017-04-13 17:11:04 +03:00
rsi scripts/spelling.txt: add "deintialize(d)" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
st drivers: add explicit interrupt.h includes 2017-03-30 11:05:34 -07:00
ti wlcore: fix spelling mistakes in wl1271_warning 2017-04-05 15:45:29 +03:00
zydas zd1211rw: fix NULL-deref at probe 2017-03-22 11:03:37 +02:00
Kconfig wireless: deprecate WDS and disable by default 2016-10-27 09:08:43 +02:00
mac80211_hwsim.c mac80211_hwsim: check HWSIM_ATTR_RADIO_NAME length 2017-02-27 17:15:28 +01:00
mac80211_hwsim.h
Makefile
ray_cs.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
ray_cs.h
rayctl.h
rndis_wlan.c net: usbnet: support 64bit stats 2017-04-03 19:09:40 -07:00
wl3501_cs.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
wl3501.h