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/dhd_wlfc.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_wlfc.c b/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_wlfc.c
old mode 100644
new mode 100755
index 0256ff6..11283aa
--- a/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_wlfc.c
+++ b/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_wlfc.c
@@ -1059,9 +1059,6 @@
 	dhdp = (dhd_pub_t *)ctx->dhdp;
 	ASSERT(dhdp);
 
-	if (if_id >= WLFC_MAX_IFNUM)
-		return;
-
 	if (dhdp->skip_fc && dhdp->skip_fc((void *)dhdp, if_id))
 		return;
 

--
Gitblit v1.6.2