]> git.baikalelectronics.ru Git - kernel.git/commit
wl1271: Retrieve device mac address from the nvs file
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>
Thu, 18 Feb 2010 11:25:43 +0000 (13:25 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Feb 2010 20:52:43 +0000 (15:52 -0500)
commit1d0b72d190ceeb9a6215c519af238eb40b22312a
treee28d461fba550ed5ea660e408b69dd0666161250
parent6d28a35954f4bafaf2f19c382ad9cc8b2ae5546d
wl1271: Retrieve device mac address from the nvs file

Instead of always randomizing the MAC address, retrieve and configure the
MAC address from the device specific nvs file. For now, randomize an address
only if the address in the NVS is zero.

Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1271_boot.c
drivers/net/wireless/wl12xx/wl1271_main.c