44 lines
1.6 KiB
Diff
44 lines
1.6 KiB
Diff
|
From 3d022cc1754fbb172ee0026ea0d0d988fa448cc8 Mon Sep 17 00:00:00 2001
|
||
|
From: Kirill Zhumarin <kirill.zhumarin@gmail.com>
|
||
|
Date: Fri, 6 Jan 2023 19:57:51 +0200
|
||
|
Subject: [PATCH] Enable secondary interface (wlan1)
|
||
|
|
||
|
---
|
||
|
drivers/net/wireless/rtl8189fs/Makefile | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/drivers/net/wireless/rtl8189fs/Makefile b/drivers/net/wireless/rtl8189fs/Makefile
|
||
|
index dfca3058..19df1972 100644
|
||
|
--- a/drivers/net/wireless/rtl8189fs/Makefile
|
||
|
+++ b/drivers/net/wireless/rtl8189fs/Makefile
|
||
|
@@ -24,6 +24,7 @@ EXTRA_CFLAGS += -I$(src)/include
|
||
|
|
||
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||
|
+EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||
|
|
||
|
EXTRA_LDFLAGS += --strip-debug
|
||
|
|
||
|
From f62142efac5b115d231fedcfa41ea5161f6d59c7 Mon Sep 17 00:00:00 2001
|
||
|
From: Kirill Zhumarin <kirill.zhumarin@gmail.com>
|
||
|
Date: Fri, 6 Jan 2023 19:18:59 +0200
|
||
|
Subject: [PATCH] Make different MAC for if1
|
||
|
|
||
|
---
|
||
|
drivers/net/wireless/rtl8189fs/os_dep/linux/os_intfs.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/drivers/net/wireless/rtl8189fs/os_dep/linux/os_intfs.c b/drivers/net/wireless/rtl8189fs/os_dep/linux/os_intfs.c
|
||
|
index 44bd029..509f2ab 100644
|
||
|
--- a/drivers/net/wireless/rtl8189fs/os_dep/linux/os_intfs.c
|
||
|
+++ b/drivers/net/wireless/rtl8189fs/os_dep/linux/os_intfs.c
|
||
|
@@ -3036,7 +3036,7 @@ _adapter *rtw_drv_add_vir_if(_adapter *primary_padapter,
|
||
|
* If it is 1, the address is locally administered
|
||
|
*/
|
||
|
mac[0] |= BIT(1);
|
||
|
- if (padapter->iface_id > IFACE_ID1)
|
||
|
+ if (padapter->iface_id >= IFACE_ID1)
|
||
|
mac[4] ^= BIT(padapter->iface_id);
|
||
|
|
||
|
_rtw_memcpy(adapter_mac_addr(padapter), mac, ETH_ALEN);
|