summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/if_usb.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-12-12 22:00:42 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-29 00:07:02 +0100
commit689442dca16eb27fee19074499d42845fe54c12a (patch)
tree21346cef514f95ec2a842838dbe85bc09bef26fc /drivers/net/wireless/libertas/if_usb.c
parentlibertas: add lbs_host_sleep_cfg() command function (diff)
downloadlinux-689442dca16eb27fee19074499d42845fe54c12a.tar.xz
linux-689442dca16eb27fee19074499d42845fe54c12a.zip
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.c2
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 3f8b83cc0d22..74fec9dfca07 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");
}