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

committed by
David S. Miller

parent
6e66f03ff7
commit
6bc822b516
@@ -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);
|
||||
|
Reference in New Issue
Block a user