summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/if_usb.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-12-12 16:00:42 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:07:02 -0800
commit689442dca16eb27fee19074499d42845fe54c12a (patch)
tree21346cef514f95ec2a842838dbe85bc09bef26fc /drivers/net/wireless/libertas/if_usb.c
parent6ce4fd2a3a84e64a27c42aaa7de6e0e85dee3573 (diff)
downloadblackbird-op-linux-689442dca16eb27fee19074499d42845fe54c12a.tar.gz
blackbird-op-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");
}
OpenPOWER on IntegriCloud