linux_dsm_epyc7002/drivers/net/wireless
Daniel Drake 9c3099f7cb libertas: handle command failure immediately
Fail commands immediately when the request cannot be sent to the hardware.

This solves the following deadlock:
 1. Two commands are in the queue.
 2. The first command is sent, but causes a timeout, which kicks off an
    asynchronous device reset
 3. The second command is submitted to the device, and fails. The failure
    is noted but the existing code waits for the timeout handler to take
    care of the failure.
 4. The device reset kicks in, causing the device "surprise removed" flag
    to be set as the device disappears from the bus.
 5. lbs_thread notes this and enters "adapter removed; waiting to die"
    mode, without processing any further command timeouts.

While adjusting lbs thread logic to handle this situation may be one way
to fix this, it seems more practical to simplify handling of host_to_card
failure so that the commands are failed immediately without waiting for
more compliated timeout logic to kick in.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-07-17 15:11:37 -04:00
..
ath ath9k_hw: fix SREV checks for applying tuning caps from EEPROM 2012-07-17 15:11:36 -04:00
b43 b43: use temporary rate_index for error checking 2012-07-17 15:11:31 -04:00
b43legacy wireless: update wireless URLs 2012-06-06 15:20:32 -04:00
brcm80211 wireless: brcm80211: use %pM to print BSSID 2012-07-12 15:27:19 -04:00
hostap
ipw2x00 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2012-06-12 14:11:13 -04:00
iwlegacy Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2012-07-12 15:21:05 -04:00
iwlwifi Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next 2012-07-12 15:21:48 -04:00
libertas libertas: handle command failure immediately 2012-07-17 15:11:37 -04:00
libertas_tf USB: Disable hub-initiated LPM for comms devices. 2012-05-18 15:42:55 -07:00
mwifiex mwifiex: improvement in cfg80211 set_bitrate_mask handler 2012-07-17 15:11:33 -04:00
orinoco nl80211: move scan API to wdev 2012-07-12 12:10:41 +02:00
p54 mac80211: reduce IEEE80211_TX_MAX_RATES 2012-07-03 13:48:37 +02:00
prism54
rt2x00 Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2012-07-12 15:21:05 -04:00
rtl818x wireless: rtl818x: rtl8180 add devices ids 2012-06-20 14:44:44 -04:00
rtlwifi rtlwifi: rtl8192de: Fix phy-based version calculation 2012-07-17 15:11:32 -04:00
ti wlcore: fix a couple small memory leaks 2012-07-10 12:10:15 -04:00
zd1211rw USB: Disable hub-initiated LPM for comms devices. 2012-05-18 15:42:55 -07:00
adm8211.c
adm8211.h
airo_cs.c
airo.c airo: copying wrong data in airo_get_aplist() 2012-06-19 14:56:26 -04:00
airo.h
at76c50x-usb.c USB 3.5-rc1 pull request 2012-05-22 15:50:46 -07:00
at76c50x-usb.h
atmel_cs.c
atmel_pci.c
atmel.c
atmel.h
Kconfig iwmc3200wifi: remove driver for unavailable hardware 2012-07-10 12:16:32 -04:00
mac80211_hwsim.c mac80211_hwsim: fix race condition with sta/vif pointers 2012-07-17 11:42:08 +02:00
mac80211_hwsim.h
Makefile iwmc3200wifi: remove driver for unavailable hardware 2012-07-10 12:16:32 -04:00
mwl8k.c drivers/net: Convert compare_ether_addr to ether_addr_equal 2012-05-10 23:33:01 -04:00
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c nl80211: move scan API to wdev 2012-07-12 12:10:41 +02:00
wl3501_cs.c
wl3501.h
zd1201.c USB: Disable hub-initiated LPM for comms devices. 2012-05-18 15:42:55 -07:00
zd1201.h