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_linux.h | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_linux.h b/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_linux.h
old mode 100644
new mode 100755
index e94787d..2f2c409
--- a/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_linux.h
+++ b/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_linux.h
@@ -67,9 +67,9 @@
/* dongle status */
enum wifi_adapter_status {
WIFI_STATUS_POWER_ON = 0,
+ WIFI_STATUS_ATTACH,
WIFI_STATUS_FW_READY,
- WIFI_STATUS_NET_ATTACHED,
- WIFI_STATUS_BUS_DISCONNECTED
+ WIFI_STATUS_DETTACH
};
#define wifi_chk_adapter_status(adapter, stat) (test_bit(stat, &(adapter)->status))
#define wifi_get_adapter_status(adapter, stat) (test_bit(stat, &(adapter)->status))
@@ -109,9 +109,6 @@
struct pci_dev *pci_dev;
struct pci_saved_state *pci_saved_state;
#endif /* BCMPCIE */
-#ifdef BCMDHD_PLATDEV
- struct platform_device *pdev;
-#endif /* BCMDHD_PLATDEV */
} wifi_adapter_info_t;
#if defined(CONFIG_WIFI_CONTROL_FUNC) || defined(CUSTOMER_HW4)
--
Gitblit v1.6.2