summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/if_usb.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-12-11 12:53:43 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:06:43 -0800
commit6bc822b5164e66ab9b93f96172df8902bfd37618 (patch)
tree5def4d4a14c99c60867d48e2abb4247d90f68e3e /drivers/net/wireless/libertas/if_usb.c
parent6e66f03ff78b23d845920739373b1561c546b13f (diff)
downloadblackbird-op-linux-6bc822b5164e66ab9b93f96172df8902bfd37618.tar.gz
blackbird-op-linux-6bc822b5164e66ab9b93f96172df8902bfd37618.zip
libertas: switch USB cardp->priv to 'struct lbs_private *' and resulting fix
Amazing what interesting things the compiler will tell you if you let it know what types you expect to be passing around. 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 a086653803fe..6cd6c962937d 100644
--- a/drivers/net/wireless/libertas/if_usb.c
+++ b/drivers/net/wireless/libertas/if_usb.c
@@ -1003,7 +1003,7 @@ static int if_usb_resume(struct usb_interface *intf)
cardp->rx_urb_recall = 0;
- if_usb_submit_rx_urb(cardp->priv);
+ if_usb_submit_rx_urb(cardp);
netif_device_attach(cardp->eth_dev);
netif_device_attach(priv->mesh_dev);
OpenPOWER on IntegriCloud