mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-03 20:44:18 +00:00
c90e10b62e
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:
|
||
---|---|---|
.. | ||
110-mac80211_keep_keys_on_stop_ap.patch | ||
120-cfg80211_allow_perm_addr_change.patch | ||
150-disable_addr_notifier.patch | ||
210-ap_scan.patch | ||
300-mac80211-drop-check-for-DONT_REORDER-in-__ieee80211_.patch | ||
304-mac80211-sta-randomize-BA-session-dialog-token-alloc.patch | ||
321-mac80211_hwsim-make-6-GHz-channels-usable.patch | ||
353-mac80211-minstrel_ht-fix-MINSTREL_FRAC-macro.patch | ||
354-mac80211-minstrel_ht-reduce-fluctuations-in-rate-pro.patch | ||
355-mac80211-minstrel_ht-rework-rate-downgrade-code-and-.patch | ||
400-allow-ibss-mixed.patch | ||
500-mac80211_configure_antenna_gain.patch | ||
782-net-next-1-of-net-pass-the-dst-buffer-to-of_get_mac_address.patch |