linux-stable/drivers/net/wireless
Po-Hao Huang 7bd3760c71 rtw88: refine napi deinit flow
We used to stop napi before disabling irqs. And it turns out
to cause some problem when we try to stop device while interrupt arrives.

To safely stop pci, we do three steps:
1. disable interrupt
2. synchronize_irq
3. stop_napi
Since step 2 and 3 may not finish as expected when interrupt is enabled,
use rtwpci->running to decide whether interrupt should be re-enabled at
the time.

Fixes: 9e2fd29864 ("rtw88: add napi support")
Signed-off-by: Po-Hao Huang <phhuang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210415084703.27255-4-pkshih@realtek.com
2021-04-21 12:37:50 +03:00
..
admtek module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
ath Another set of updates, all over the map: 2021-04-20 16:44:04 -07:00
atmel module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
broadcom Another set of updates, all over the map: 2021-04-20 16:44:04 -07:00
cisco airo: work around stack usage warning 2021-04-17 21:02:28 +03:00
intel Another set of updates, all over the map: 2021-04-20 16:44:04 -07:00
intersil module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
marvell mwl8k: Fix a double Free in mwl8k_probe_hw 2021-04-18 09:35:06 +03:00
mediatek Another set of updates, all over the map: 2021-04-20 16:44:04 -07:00
microchip wilc1000: Remove duplicate struct declaration 2021-04-18 09:33:09 +03:00
quantenna qtnfmac: remove meaningless goto statement and labels 2021-04-17 20:33:27 +03:00
ralink of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
realtek rtw88: refine napi deinit flow 2021-04-21 12:37:50 +03:00
rsi rsi: Use resume_noirq for SDIO 2021-04-18 09:31:50 +03:00
st cw1200: Remove unused function pointer typedef wsm_* 2021-04-17 20:25:54 +03:00
ti wlcore: fix overlapping snprintf arguments in debugfs 2021-04-17 21:01:56 +03:00
zydas zd1201: Fix fall-through warnings for Clang 2020-12-08 10:06:59 +02:00
Kconfig wireless: remove CONFIG_WIRELESS_WDS 2020-11-10 09:39:08 +01:00
mac80211_hwsim.c wireless: fix spelling of A-MSDU in HE capabilities 2021-04-19 12:50:15 +02:00
mac80211_hwsim.h
Makefile
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c net: usb: switch to dev_get_tstats64 and remove usbnet_get_stats64 alias 2020-11-12 14:58:27 -08:00
virt_wifi.c virt_wifi: Return micros for BSS TSF values 2021-04-08 10:14:57 +02:00
wl3501.h wl3501: fix typo of 'Networks' in comment 2021-04-18 09:32:28 +03:00
wl3501_cs.c