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_pcie.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_pcie.c b/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_pcie.c
old mode 100644
new mode 100755
index 96bc798..035f51b
--- a/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_pcie.c
+++ b/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_pcie.c
@@ -2367,7 +2367,11 @@
bus->deep_sleep = TRUE;
#endif
+#ifdef CUSTOMER_HW_ROCKCHIP
+ bus->idma_enabled = FALSE;
+#else
bus->idma_enabled = TRUE;
+#endif
bus->ifrm_enabled = TRUE;
#ifdef BCMINTERNAL
bus->dma_chan = 0;
@@ -9702,7 +9706,7 @@
/* Got D3 Ack. Suspend the bus */
#ifdef OEM_ANDROID
if (active) {
- DHD_ERROR(("%s():Suspend failed because of wakelock "
+ DHD_ERROR(("%s():Suspend failed because of wakelock"
"restoring Dongle to D0\n", __FUNCTION__));
if (bus->dhd->dhd_watchdog_ms_backup) {
--
Gitblit v1.6.2