openwrt/package/kernel/mac80211/patches
Hauke Mehrtens c90e10b62e mac80211: Fix deadlock when configuring wifi
The nl80211_set_wiphy() function was changed between kernel 5.11 and
5.12 to take the rdev->wiphy lock which should be freed at the end
again. The 500-mac80211_configure_antenna_gain.patch added some code
which just returned in some cases without unlocking. This resulted in a
deadlock with brcmfmac.
This patch fixes this by also jumping to the out label in case we want
to leave the function.
This fixes a hanging system when brcmfmac is in use. I do not know why
we do not see this with other driver.

The kernel returns very useful debug details when setting these OpenWrt
configuration options:
CONFIG_KERNEL_DETECT_HUNG_TASK=y
CONFIG_KERNEL_PROVE_LOCKING=y

Fixes: FS#4122
Fixes: b96c2569ac ("mac80211: Update to version 5.12.19-1")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-11-13 19:09:22 +01:00
..
ath mac80211: Update to version 5.15-rc6-1 2021-10-24 00:08:38 +02:00
ath5k mac80211: Update to version 5.12.19-1 2021-10-23 23:17:28 +02:00
ath9k ath9k: nvmem for ath9k caldata 2021-11-06 16:40:48 +01:00
ath10k ath10k: backport fix for module load regression with iram-recovery 2021-10-30 21:17:20 +02:00
brcm mac80211: Update to version 5.15-rc6-1 2021-10-24 00:08:38 +02:00
build mac80211: Add devm_platform_get_and_ioremap_resource() 2021-10-24 15:03:20 +02:00
mwl mac80211: Update to version 5.12.19-1 2021-10-23 23:17:28 +02:00
rt2x00 mac80211: Update to version 5.15-rc6-1 2021-10-24 00:08:38 +02:00
subsys mac80211: Fix deadlock when configuring wifi 2021-11-13 19:09:22 +01:00