diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-12-12 21:00:42 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 23:07:02 (GMT) |
commit | 689442dca16eb27fee19074499d42845fe54c12a (patch) | |
tree | 21346cef514f95ec2a842838dbe85bc09bef26fc /drivers/net/wireless/libertas/if_usb.c | |
parent | 6ce4fd2a3a84e64a27c42aaa7de6e0e85dee3573 (diff) | |
download | linux-fsl-qoriq-689442dca16eb27fee19074499d42845fe54c12a.tar.xz |
libertas: switch lbs_cmd() to take a _pointer_ to the command structure
This way, it looks more like a normal function.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/if_usb.c')
-rw-r--r-- | drivers/net/wireless/libertas/if_usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c index 3f8b83c..74fec9d 100644 --- a/drivers/net/wireless/libertas/if_usb.c +++ b/drivers/net/wireless/libertas/if_usb.c @@ -109,7 +109,7 @@ static void if_usb_set_boot2_ver(struct lbs_private *priv) b2_cmd.action = 0; b2_cmd.version = priv->boot2_version; - if (lbs_cmd(priv, CMD_SET_BOOT2_VER, b2_cmd, NULL, 0)) + if (lbs_cmd(priv, CMD_SET_BOOT2_VER, &b2_cmd, NULL, 0)) lbs_deb_usb("Setting boot2 version failed\n"); } |