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/wl_event.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_event.c b/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_event.c
old mode 100644
new mode 100755
index f63825f..a89f3cd
--- a/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_event.c
+++ b/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_event.c
@@ -1,9 +1,7 @@
-/* SPDX-License-Identifier: GPL-2.0 */
#include <wl_android.h>
#ifdef WL_EVENT
#include <bcmendian.h>
-#include <dhd_config.h>
#define EVENT_ERROR(name, arg1, args...) \
do { \
@@ -313,8 +311,7 @@
#else
/* Allocate workqueue for event */
if (!event_params->event_workq) {
- event_params->event_workq = alloc_workqueue("ext_eventd",
- WQ_MEM_RECLAIM | WQ_HIGHPRI | WQ_UNBOUND, 0);
+ event_params->event_workq = alloc_workqueue("ext_eventd", WQ_MEM_RECLAIM | WQ_HIGHPRI, 0);
}
if (!event_params->event_workq) {
@@ -388,7 +385,6 @@
mutex_unlock(&event_params->event_sync);
return -ENOMEM;
}
- memset(leaf, 0, sizeof(event_handler_list_t));
leaf->next = NULL;
leaf->dev = dev;
leaf->etype = event;
--
Gitblit v1.6.2