libertas_tf: move hardware callbacks to a separate structure
authorLubomir Rintel <lkundrak@v3.sk>
Wed, 20 Feb 2019 10:58:38 +0000 (11:58 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 20 Feb 2019 17:55:53 +0000 (19:55 +0200)
commitbe9d0d3fe1392cefd710a96101250d76d42f632c
treee8c06239d1d543e47b605ccb797530ddc06f9fb8
parente0a8ef4d7b4315bc4c1641fb3f3a7dfdfa6627b8
libertas_tf: move hardware callbacks to a separate structure

We'll need to talk to the firmware to get a hardware address before
device is registered with ieee80211 subsystem at the end of
lbtf_add_card(). Hooking the callbacks after that is too late.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/libertas_tf/cmd.c
drivers/net/wireless/marvell/libertas_tf/if_usb.c
drivers/net/wireless/marvell/libertas_tf/libertas_tf.h
drivers/net/wireless/marvell/libertas_tf/main.c