openwrt-6.x/package/kernel
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
..
acx-mac80211
ath10k-ct
bcm27xx-gpu-fw
bcm63xx-cfe
bpf-headers bpf-headers: unset PKG_CONFIG_PATH 2021-11-02 10:36:15 +01:00
broadcom-wl
button-hotplug
cryptodev-linux
dtc/patches
gpio-button-hotplug
gpio-nct5104d
gpio-nxp-74hc153
hwmon-gsc kernel: update dependencies after 'imx6' -> 'imx' rename 2021-11-03 12:45:40 +01:00
lantiq
linux kernel: Add regmap-i2c dependency to sound-soc-imx-sgtl5000 2021-11-07 17:08:51 +01:00
mac80211 mac80211: Fix deadlock when configuring wifi 2021-11-13 19:09:22 +01:00
mt76 mt76: update to the latest version 2021-10-23 13:31:22 +02:00
mt7621-qtn-rgmii
mwlwifi
nat46 nat46: update to latest git HEAD 2021-11-10 20:29:12 +01:00
om-watchdog
rtc-rv5c386a
rtl8812au-ct
trelay