libertas_tf: get the MAC address before registering the device
authorLubomir Rintel <lkundrak@v3.sk>
Wed, 20 Feb 2019 10:58:40 +0000 (11:58 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 20 Feb 2019 17:55:54 +0000 (19:55 +0200)
commit5d04b22b881d2b21569304fd6930509bb232fa0d
tree1b7432ea89b141cd93a3aaa1126c6c3761e23fac
parentbaa0280f08c71a3ce699a5213f16f45f6e0e592b
libertas_tf: get the MAC address before registering the device

The start() callback is too late for this: NetworkManager would already
have seen the hardware, thinking 00:00:00:00:00:00 is its permanent
address.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Reviewed-by: Steve deRosier <derosier@cal-sierra.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/libertas_tf/main.c