difos/package
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
..
base-files base-files: drop get_partition_by_name shell function 2021-11-01 18:01:02 +00:00
boot uboot-imx: set BUILD_SUBTARGET to 'cortexa9' 2021-11-03 12:45:40 +01:00
devel gdb: Make only full gdb depend on libgmp 2021-11-07 18:32:21 +01:00
firmware ipq40xx: detangle ath10k-board-qca4019 from ath10k-firmware-qca4019* 2021-10-30 16:32:59 +02:00
kernel mac80211: Fix deadlock when configuring wifi 2021-11-13 19:09:22 +01:00
libs libubox: bump to git HEAD 2021-11-04 13:18:13 +02:00
network iproute2: update to 5.15 2021-11-13 18:00:11 +01:00
system procd: update to git HEAD 2021-11-11 14:09:25 +00:00
utils f2fstools: set each library package VARIANT 2021-11-01 20:18:55 +01:00
Makefile build: fix opkg install step for large package selection 2021-05-12 11:13:53 +02:00