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>
This commit is contained in:

committed by
David S. Miller

parent
6ce4fd2a3a
commit
689442dca1
@@ -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");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user