Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79221
b: refs/heads/master
c: b926d6b
h: refs/heads/master
i:
  79219: f36a423
v: v3
  • Loading branch information
David Woodhouse authored and David S. Miller committed Jan 28, 2008
1 parent e9d0a1b commit 0d71338
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d9f88705a7ce2f9ef13d6656ee715493a663edfc
refs/heads/master: b926d6b31e2dd8f1bc21a9576aff0e486e21d32a
5 changes: 0 additions & 5 deletions trunk/drivers/net/wireless/libertas/if_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,16 +278,11 @@ static void if_usb_disconnect(struct usb_interface *intf)
cardp->surprise_removed = 1;

if (priv) {

priv->surpriseremoved = 1;
lbs_stop_card(priv);
lbs_remove_card(priv);
}

/* this is (apparently?) necessary for future usage of the device */
lbs_prepare_and_send_command(priv, CMD_802_11_RESET, CMD_ACT_HALT,
0, 0, NULL);

/* Unlink and free urb */
if_usb_free(cardp);

Expand Down

0 comments on commit 0d71338

Please sign in to comment.