Re: [PATCH] ath10k: retrieve MAC address from firmware if provided

From: Arend van Spriel
Date: Sat Aug 11 2018 - 16:15:33 EST


On 8/11/2018 1:39 AM, Brian Norris wrote:
Devices may provide their own MAC address via system firmware (e.g.,

You got me confused by using just "firmware" in the subject.

device tree), especially in the case where the device doesn't have a
useful EEPROM on which to store its MAC address (e.g., for integrated
Wifi).

Use the generic device helper to retrieve the MAC address, and (if
present) honor it above the MAC address advertised by the card.

But this put me back on track ;-)

Signed-off-by: Brian Norris <briannorris@xxxxxxxxxxxx>
---
drivers/net/wireless/ath/ath10k/core.c | 3 +++
drivers/net/wireless/ath/ath10k/wmi.c | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)