diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2017-11-10 00:38:24 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-02-27 15:50:43 +0200 |
commit | 562da3a39cb78ffaba44511ec39d8c245023a02f (patch) | |
tree | f76375c0629dc64c918ad265ce33ea848ca3a1cd /arch/arm/mach-ebsa110/include/mach | |
parent | f63b4c971f5fb1310f145785c3b2b77651ef129e (diff) | |
download | linux-562da3a39cb78ffaba44511ec39d8c245023a02f.tar.bz2 |
wl1251: Generate random MAC address only if driver does not have valid
Before this patch, driver generated random MAC address every time it was
initialized. After that random MAC address could be overwritten with fixed
one, if provided.
This patch changes order. First it tries to read fixed MAC address and if
it fails then driver generates random MAC address.
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-ebsa110/include/mach')
0 files changed, 0 insertions, 0 deletions