summaryrefslogtreecommitdiffstats
path: root/arch/cris
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2017-11-10 00:38:24 +0100
committerKalle Valo <kvalo@codeaurora.org>2018-02-27 15:50:43 +0200
commit562da3a39cb78ffaba44511ec39d8c245023a02f (patch)
treef76375c0629dc64c918ad265ce33ea848ca3a1cd /arch/cris
parentf63b4c971f5fb1310f145785c3b2b77651ef129e (diff)
downloadlinux-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/cris')
0 files changed, 0 insertions, 0 deletions