OSDN Git Service

staging: wfx: fix setting MAC address from DT
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Thu, 17 Oct 2019 09:40:06 +0000 (09:40 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Oct 2019 18:42:32 +0000 (20:42 +0200)
commit20ed2d1608ecc389ec3df87fc228a7d487f8b07b
tree56c507216bfea0c9c2a86f37c7cf4f09eaf97549
parent4e4f5e6fef21a574b4749a0fb5e96070eb03cb19
staging: wfx: fix setting MAC address from DT

MAC address read from chip is unconditionally used even if a MAC
address is configured in device tree.

Reported-by: Marc Dorval <marc.dorval@silabs.com>
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20191017093954.657-5-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/main.c