openwrt/package/kernel/mac80211/patches/subsys
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
..
110-mac80211_keep_keys_on_stop_ap.patch mac80211: Update to version 5.15-rc6-1 2021-10-24 00:08:38 +02:00
120-cfg80211_allow_perm_addr_change.patch mac80211: Update to version 5.12.19-1 2021-10-23 23:17:28 +02:00
150-disable_addr_notifier.patch mac80211: Update to version 5.14.13-1 2021-10-24 00:08:38 +02:00
210-ap_scan.patch mac80211: Update to version 5.15-rc6-1 2021-10-24 00:08:38 +02:00
300-mac80211-drop-check-for-DONT_REORDER-in-__ieee80211_.patch mac80211: fix queue selection issue 2021-11-10 22:25:27 +01:00
304-mac80211-sta-randomize-BA-session-dialog-token-alloc.patch mac80211: Update to version 5.9.12-1 2021-02-14 15:13:40 +01:00
321-mac80211_hwsim-make-6-GHz-channels-usable.patch mac80211: Update to version 5.14.13-1 2021-10-24 00:08:38 +02:00
353-mac80211-minstrel_ht-fix-MINSTREL_FRAC-macro.patch mac80211: minstrel_ht: fix issue in calculating success probability 2021-04-28 21:08:29 +02:00
354-mac80211-minstrel_ht-reduce-fluctuations-in-rate-pro.patch mac80211: add minstrel performance improvements 2021-02-14 19:41:07 +01:00
355-mac80211-minstrel_ht-rework-rate-downgrade-code-and-.patch mac80211: Update to version 5.14.13-1 2021-10-24 00:08:38 +02:00
400-allow-ibss-mixed.patch mac80211: Update to version 5.14.13-1 2021-10-24 00:08:38 +02:00
500-mac80211_configure_antenna_gain.patch mac80211: Fix deadlock when configuring wifi 2021-11-13 19:09:22 +01:00
782-net-next-1-of-net-pass-the-dst-buffer-to-of_get_mac_address.patch mac80211: Update to version 5.13.19-1 2021-10-24 00:08:03 +02:00