Files
wlan-ap/feeds/morse/kernel/mm61xx/patches/010-fix-sdio-error.patch
ian77_chen 4db1ebe0f9 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 07:30:08 +02:00

14 lines
319 B
Diff

--- a/sdio.c
+++ b/sdio.c
@@ -587,9 +587,5 @@ static int morse_sdio_reset(int reset_pi
sdio_claim_host(func);
sdio_disable_func(func);
-#if KERNEL_VERSION(5, 18, 0) > MAC80211_VERSION_CODE
mmc_hw_reset(func->card->host);
-#else
- mmc_hw_reset(func->card);
-#endif
sdio_enable_func(func);
sdio_release_host(func);