Add MAC_ADDR_WIFI2
Change-Id: I6a8aaadde675d05b8eef73652ddcb1d70bd21634
diff --git a/libupgrade/hmx_upgrade_nvram.c b/libupgrade/hmx_upgrade_nvram.c
index 77563b8..67bd836 100644
--- a/libupgrade/hmx_upgrade_nvram.c
+++ b/libupgrade/hmx_upgrade_nvram.c
@@ -163,6 +163,7 @@
{NVRAM_FIELD_PAIRED_DISK, "PAIRED_DISK", HMX_NVRAM_PARTITION_RW, 0},
{NVRAM_FIELD_PARTITION_VER, "PARTITION_VER", HMX_NVRAM_PARTITION_RW, 0},
{NVRAM_FIELD_MAC_ADDR_WIFI, "MAC_ADDR_WIFI", HMX_NVRAM_PARTITION_RO, 0},
+ {NVRAM_FIELD_MAC_ADDR_WIFI2, "MAC_ADDR_WIFI2", HMX_NVRAM_PARTITION_RO, 0},
{NVRAM_FIELD_MAC_ADDR_WAN, "MAC_ADDR_WAN", HMX_NVRAM_PARTITION_RO, 0},
{NVRAM_FIELD_DUMMY, "DUMMY", HMX_NVRAM_PARTITION_RW, 0}
};
diff --git a/libupgrade/hmx_upgrade_nvram.h b/libupgrade/hmx_upgrade_nvram.h
index 8ae6f02..713a68f 100644
--- a/libupgrade/hmx_upgrade_nvram.h
+++ b/libupgrade/hmx_upgrade_nvram.h
@@ -109,6 +109,7 @@
NVRAM_FIELD_PARTITION_VER, // partition version
NVRAM_FIELD_HW_VER, // hardware revision
NVRAM_FIELD_MAC_ADDR_WIFI,
+ NVRAM_FIELD_MAC_ADDR_WIFI2,
NVRAM_FIELD_MAC_ADDR_WAN,
NVRAM_FIELD_DUMMY = 0xFFFF
} NVRAM_FIELD_T;