Files
wlan-ap/feeds/morse/kernel/mm61xx/patches/004-fix-kernel-version-check.patch
ian77_chen f39339564a mediatek-sdk: Support HaLow on EAP112
1. porting MorseMicro HaLow driver to support HaLow on EAP112
2. Only support FCC regulation because of hardware limitation
3. Add /etc/init.d/halow-gpio-reset to initialize HaLow chip in early stage
4. Add /etc/uci-defaults/aaa-fix-phy0-to-morse to correct the default uci for HaLow radio.

Signed-off-by: Ian Chen <ian77_chen@accton.com>
2025-05-12 10:45:38 +02:00

14 lines
506 B
Diff

Index: morse_driver-rel_1_12_3_2024_May_23/sdio.c
===================================================================
--- morse_driver-rel_1_12_3_2024_May_23.orig/sdio.c
+++ morse_driver-rel_1_12_3_2024_May_23/sdio.c
@@ -572,7 +572,7 @@ static int morse_sdio_reset(int reset_pi
sdio_claim_host(func);
sdio_disable_func(func);
-#if KERNEL_VERSION(5, 18, 0) > LINUX_VERSION_CODE
+#if KERNEL_VERSION(5, 18, 0) > MAC80211_VERSION_CODE
mmc_hw_reset(func->card->host);
#else
mmc_hw_reset(func->card);