From b22da3d8526a935aa31e086e63f60ff3246cb61c Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 09 Dec 2023 07:24:11 +0000
Subject: [PATCH] add stmac read mac form eeprom

---
 kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmsdh_sdmmc_linux.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmsdh_sdmmc_linux.c b/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmsdh_sdmmc_linux.c
old mode 100644
new mode 100755
index 09307fd..1dfb408
--- a/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmsdh_sdmmc_linux.c
+++ b/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmsdh_sdmmc_linux.c
@@ -91,12 +91,8 @@
 		adapter->bus_num = host_idx;
 		adapter->slot_num = rca;
 		adapter->sdio_func = func;
-	} else {
+	} else
 		sd_err(("can't find adapter info for this chip\n"));
-#ifdef ADAPTER_IDX
-		goto fail;
-#endif
-	}
 
 #ifdef WL_CFG80211
 	wl_cfg80211_set_parent_dev(&func->dev);

--
Gitblit v1.6.2