Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79157
b: refs/heads/master
c: c8ba39d
h: refs/heads/master
i:
  79155: 1bef00a
v: v3
  • Loading branch information
David Woodhouse authored and David S. Miller committed Jan 28, 2008
1 parent dbe63c2 commit d30fc0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 8552855f9860b222673e86a88de2543f53f83dc2
refs/heads/master: c8ba39d0605200c81f43c59418871e036d973685
6 changes: 3 additions & 3 deletions trunk/drivers/net/wireless/libertas/if_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,9 @@ static int if_usb_reset_device(struct usb_card_rec *cardp)
cmd->params.reset.action = cpu_to_le16(CMD_ACT_HALT);
usb_tx_block(cardp, cardp->bulk_out_buffer, 4 + S_DS_GEN + sizeof(struct cmd_ds_802_11_reset));

msleep(10);
msleep(100);
ret = usb_reset_device(cardp->udev);
msleep(10);
msleep(100);

lbs_deb_leave_args(LBS_DEB_USB, "ret %d", ret);

Expand Down Expand Up @@ -500,7 +500,7 @@ static void if_usb_receive_fwload(struct urb *urb)
return;
}

if (cardp->bootcmdresp == 0) {
if (cardp->bootcmdresp <= 0) {
memcpy (&bootcmdresp, skb->data + IPFIELD_ALIGN_OFFSET,
sizeof(bootcmdresp));
if (le16_to_cpu(cardp->udev->descriptor.bcdDevice) < 0x3106) {
Expand Down

0 comments on commit d30fc0c

Please sign in to comment.