diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-02-20 11:58:38 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-02-20 19:55:53 +0200 |
commit | be9d0d3fe1392cefd710a96101250d76d42f632c (patch) | |
tree | e8c06239d1d543e47b605ccb797530ddc06f9fb8 /drivers/net/wireless/marvell/libertas_tf/cmd.c | |
parent | e0a8ef4d7b4315bc4c1641fb3f3a7dfdfa6627b8 (diff) | |
download | linux-stable-be9d0d3fe1392cefd710a96101250d76d42f632c.tar.gz linux-stable-be9d0d3fe1392cefd710a96101250d76d42f632c.tar.bz2 linux-stable-be9d0d3fe1392cefd710a96101250d76d42f632c.zip |
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>
Diffstat (limited to 'drivers/net/wireless/marvell/libertas_tf/cmd.c')
-rw-r--r-- | drivers/net/wireless/marvell/libertas_tf/cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/marvell/libertas_tf/cmd.c b/drivers/net/wireless/marvell/libertas_tf/cmd.c index 64b147dd2432..130f578daafd 100644 --- a/drivers/net/wireless/marvell/libertas_tf/cmd.c +++ b/drivers/net/wireless/marvell/libertas_tf/cmd.c @@ -256,7 +256,7 @@ static void lbtf_submit_command(struct lbtf_private *priv, command, le16_to_cpu(cmd->seqnum), cmdsize); lbtf_deb_hex(LBTF_DEB_CMD, "DNLD_CMD", (void *) cmdnode->cmdbuf, cmdsize); - ret = priv->hw_host_to_card(priv, MVMS_CMD, (u8 *) cmd, cmdsize); + ret = priv->ops->hw_host_to_card(priv, MVMS_CMD, (u8 *)cmd, cmdsize); spin_unlock_irqrestore(&priv->driver_lock, flags); if (ret) { |