Re: [PATCH] ath10k: utilize random MAC address if none is provided

From: Kalle Valo
Date: Mon Oct 01 2018 - 09:54:21 EST


Brian Norris <briannorris@xxxxxxxxxxxx> wrote:

> Since commit 9d5804662ce1 ("ath10k: retrieve MAC address from system
> firmware if provided"), we support pulling our MAC address from system
> firmware. Along with this, we should admit that it's possible for system
> firmware to be screwed up as well, omitting the MAC address there.
>
> Provide a fallback, such that we choose a randomly-generated MAC
> address, with the local assignment bit set.
>
> This is not a preferred mode of operation and really should only serve
> the purpose of keeping the system chugging along while someone figures
> out what's wrong with the system. Grepping through other wireless
> drivers shows very similar fallback logic though, so why not?
>
> git grep eth_random_addr drivers/net/wireless/
>
> Signed-off-by: Brian Norris <briannorris@xxxxxxxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx>

Patch applied to ath-next branch of ath.git, thanks.

234e4307cf7f ath10k: utilize random MAC address if none is provided

--
https://patchwork.kernel.org/patch/10592411/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches