ath79: Fix GL.iNet GL-E750 crash after restart 5g wifi

Fixed a crash issue caused by 5g wifi startup during startup
Related Forum
Links:https://forum.gl-inet.com/t/e750-5ghz-wifi-not-working-properly-stock-openwrt-23-05-2/35404

Signed-off-by: Weiping Yang <weiping.yang@gl-inet.com>
This commit is contained in:
Weiping Yang 2024-05-23 19:03:24 +08:00 committed by GL.iNet-XiBao.Lu
parent 9a11bc3682
commit afba4ad70b
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,13 @@
Index: b/drivers/net/wireless/ath/ath10k/pci.c
===================================================================
--- a/drivers/net/wireless/ath/ath10k/pci.c
+++ b/drivers/net/wireless/ath/ath10k/pci.c
@@ -2246,7 +2246,7 @@ static int ath10k_pci_bmi_wait(struct at
goto out;
}
- schedule();
+ //schedule();
}
ret = -ETIMEDOUT;

View File

@ -190,7 +190,7 @@ define Device/glinet_gl-e750
SOC := qca9531
DEVICE_VENDOR := GL.iNet
DEVICE_MODEL := GL-E750
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9887-ct kmod-usb2 \
DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca9887 kmod-usb2 \
kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi
SUPPORTED_DEVICES += gl-e750
KERNEL_SIZE := 4096k