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)
committerGrazvydas Ignotas <notasas@gmail.com>
Tue, 20 Apr 2010 13:13:47 +0000 (16:13 +0300)
commit1fc67684e572ad606489e1aed97cdfd2d69f3c29
tree769b6c224b45179fea6346ee89510b9604b18245
parent69256d26f071c3615c0201c576072b18825ac522
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