From a6acdedc2b194f36f089630fb966b56408623c99 Mon Sep 17 00:00:00 2001 From: Kirill Zhumarin Date: Thu, 19 Jan 2023 22:41:55 +0000 Subject: [PATCH] Make different MAC for if1 Signed-off-by: Kirill Zhumarin --- drivers/net/wireless/rtl8811cu/os_dep/linux/os_intfs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/rtl8811cu/os_dep/linux/os_intfs.c b/drivers/net/wireless/rtl8811cu/os_dep/linux/os_intfs.c index 67bef7886..e740fa5ed 100644 --- a/drivers/net/wireless/rtl8811cu/os_dep/linux/os_intfs.c +++ b/drivers/net/wireless/rtl8811cu/os_dep/linux/os_intfs.c @@ -3472,7 +3472,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