From 78822617bb6c9615858cd5cd39f83b335005a55d Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 6 Oct 2020 11:33:09 +0200 Subject: [PATCH] Revert "Swap LAN and WAN MAC in RM2100/R2100 devices" This reverts commit ea95d6190ed04be2bb4cb77cd35424879d966779. --- release/src/router/shared/sysdeps/ralink/ralink.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/release/src/router/shared/sysdeps/ralink/ralink.h b/release/src/router/shared/sysdeps/ralink/ralink.h index 1b3973962f..1b0811f04f 100644 --- a/release/src/router/shared/sysdeps/ralink/ralink.h +++ b/release/src/router/shared/sysdeps/ralink/ralink.h @@ -362,12 +362,9 @@ typedef enum _RT_802_11_PHY_MODE { #define OFFSET_MAC_ADDR_2G 0x40004 #define OFFSET_MAC_ADDR 0x48004 #endif -#if defined(RTAC85U) || defined(RTAC85P) || defined(RPAC87) || defined(RTAC1200GU) || defined(RTACRH26) || defined(RTMIR3G) || defined(RTMIR4A) +#if defined(RTAC85U) || defined(RTAC85P) || defined(RPAC87) || defined(RTAC1200GU) || defined(RTACRH26) || defined(RTMIR3G) || defined(RTMIR4A) || defined(RTRM2100) || defined(RTR2100) #define OFFSET_MAC_GMAC0 0x4E000 #define OFFSET_MAC_GMAC2 0x4E006 -#elif defined(RTRM2100) || defined(RTR2100) -#define OFFSET_MAC_GMAC0 0x4E006 -#define OFFSET_MAC_GMAC2 0x4E000 #elif defined(RTN800HP) #define OFFSET_MAC_GMAC0 0x4E000 #define OFFSET_MAC_GMAC2 0x4E000 //only one Mac