From: Hans de Goede Date: Fri, 3 Mar 2023 20:10:06 +0000 (+0100) Subject: brcm: Fix Xiaomi Inc Mipad2 nvram/.txt file macaddr X-Git-Tag: 20230310~9^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1bc8afb2f5356bcbb738fc344746e7c2f0fac14a;p=linux-firmware 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 --- diff --git a/brcm/brcmfmac4356-pcie.Xiaomi Inc-Mipad2.txt b/brcm/brcmfmac4356-pcie.Xiaomi Inc-Mipad2.txt index 073724a..d22b603 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