From 1bc8afb2f5356bcbb738fc344746e7c2f0fac14a Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Fri, 3 Mar 2023 21:10:06 +0100 Subject: [PATCH] brcm: Fix Xiaomi Inc Mipad2 nvram/.txt file macaddr Replace the macaddr setting with the special fixed macaddr the kernel's brcmfmac driver uses to identify that there is no macaddr programmed into the NIC (NIC programmed makes takes precedence over the .txt one). This will properly make the kernel generate a random MAC and set addr_assign_type to NET_ADDR_RANDOM on devices without a MAC programmed into the NIC. Signed-off-by: Hans de Goede --- brcm/brcmfmac4356-pcie.Xiaomi Inc-Mipad2.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brcm/brcmfmac4356-pcie.Xiaomi Inc-Mipad2.txt b/brcm/brcmfmac4356-pcie.Xiaomi Inc-Mipad2.txt index 073724a0..d22b6031 100644 --- a/brcm/brcmfmac4356-pcie.Xiaomi Inc-Mipad2.txt +++ b/brcm/brcmfmac4356-pcie.Xiaomi Inc-Mipad2.txt @@ -32,7 +32,7 @@ extpagain2g=2 extpagain5g=2 femctrl=10 ltecxmux=0x534201 -macaddr=00:90:4c:19:80:01 +macaddr=00:90:4c:c5:12:38 manfid=0x2d0 maxp2ga0=78 maxp2ga1=78