wl1251: read default MAC address from EEPROM when available
authorGrazvydas Ignotas <notasas@gmail.com>
Wed, 14 Apr 2010 10:05:48 +0000 (13:05 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Apr 2010 19:32:00 +0000 (15:32 -0400)
commit61c2a80b960361a930a4e3c4c0df694713b9dafd
treed1a2fe22a5486c08abc641479015a625d82ef84d
parenta5e944f1d955f3819503348426763e21e0413ba6
wl1251: read default MAC address from EEPROM when available

Some wl1251 hardware configurations (like in WG7210 module) have
EEPROM attached where NVS data is kept, which includes MAC address.

In such configurations, let's read default MAC address from EEPROM,
instead of using random one.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Acked-by: Kalle Valo <kvalo@adurom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_main.c
drivers/net/wireless/wl12xx/wl1251_reg.h