26 lines
1010 B
Diff
26 lines
1010 B
Diff
From a6acdedc2b194f36f089630fb966b56408623c99 Mon Sep 17 00:00:00 2001
|
|
From: Kirill Zhumarin <kirill.zhumarin@gmail.com>
|
|
Date: Thu, 19 Jan 2023 22:41:55 +0000
|
|
Subject: [PATCH] Make different MAC for if1
|
|
|
|
Signed-off-by: Kirill Zhumarin <kirill.zhumarin@gmail.com>
|
|
---
|
|
drivers/net/wireless/rtl88x2bu/os_dep/linux/os_intfs.c | 2 +-
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
|
diff --git a/drivers/net/wireless/rtl88x2bu/os_dep/linux/os_intfs.c b/drivers/net/wireless/rtl88x2bu/os_dep/linux/os_intfs.c
|
|
index e2b424932..5cd0c79dd 100644
|
|
--- a/drivers/net/wireless/rtl88x2bu/os_dep/linux/os_intfs.c
|
|
+++ b/drivers/net/wireless/rtl88x2bu/os_dep/linux/os_intfs.c
|
|
@@ -3481,7 +3481,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[0] ^= ((padapter->iface_id)<<2);
|
|
}
|
|
|
|
--
|
|
Created with Armbian build tools https://github.com/armbian/build
|