openwrt-pf/package/kernel
Georgi Valkov 9a928a437c
mac80211: mwifiex: fix freeze for 60 seconds caused by request_firmware
Fix regression in rgpower table loading, caused by using
request_firmware(): when the requested firmware does not exist, e.g.
nxp/rgpower_WW.bin does not exist on OpenWrt builds for WRT3200ACM,
request_firmware() falls back to firmware_fallback_sysfs(), which expects
the firmware to be provided by user space using SYSFS. No such utility is
provided in this configuration, so the entire system locks up for 60
seconds, until the request times out. During this time, no other log
messages are observed, and the device does not respond to commands over
UART.

The request_firmware() call is performed in the following context:
current->comm kworker/1:2  in_task 1  irqs_disabled 0  in_atomic 0

Fixed by using request_firmware_direct(). This prevents fallback to SYSFS,
and avoids delay. The rgpower table is optional. The driver falls back
to the device tree power table if the firmware is not present.

The error code is printed for debugging and returned to the caller,
which only cares for success or failure, so there are no side effects.

Link: #24205
Fixes: #24434
Fixes: https://forum.openwrt.org/t/25-12-0-slow-boot-on-linksys-wrt3200acm/247751
Fixes: 7b6f16a258

Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/24205
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-07-28 09:49:18 +02:00
..
ath10k-ct
bcm27xx-gpu-fw bcm27xx-gpu-fw: update to 20260521 2026-07-07 08:48:42 +02:00
bcm63xx-cfe
bpf-headers
button-hotplug treewide: remove weird double void casting 2026-07-11 23:43:28 +02:00
cryptodev-linux
econet-eth econet: en7528: add basic ethernet support 2026-02-15 01:12:52 +01:00
gpio-button-hotplug gpio-button-hotplug: enable get_devtree_pdata everywhere 2026-07-25 22:53:20 +02:00
gpio-nct5104d
lantiq lantiq: vrx518_ep: use module_pci_driver macro 2026-06-28 23:36:05 +02:00
leds-gca230718 treewide: remove usage of of_device.h 2026-06-10 09:03:11 +02:00
leds-ws2812b treewide: remove usage of of_device.h 2026-06-10 09:03:11 +02:00
linux kernel: modules: add kmod-hwmon-ina3221 2026-07-25 23:53:44 +02:00
mac80211 mac80211: mwifiex: fix freeze for 60 seconds caused by request_firmware 2026-07-28 09:49:18 +02:00
mt76 mt76: update to Git HEAD (2026-07-01) 2026-07-01 13:15:44 +02:00
mt7621-qtn-rgmii
mwlwifi mwlwifi: add patch series for kernel 6.18 compatibility 2026-04-06 16:03:37 +02:00
nat46
ntfs ntfs: update to 2026-05-03 2026-05-14 19:05:45 +02:00
r8101
r8125
r8126
r8127
r8168 kernel: r8168: update to v8.056.02 2026-05-14 21:19:22 +02:00
rtc-rv5c386a rtc-rv5c386a: fix build with kernel 6.12 2026-03-10 23:50:54 +01:00
rtl8812au-ct rtl8812au-ct: fix compilation with GCC 15 2026-06-27 11:45:04 +02:00
trelay trelay: use struct_size helper in allocation 2026-03-13 19:58:05 +01:00
ubnt-ledbar treewide: various fwnode conversions 2026-07-05 23:35:05 +02:00
ubootenv-nvram