Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79103
b: refs/heads/master
c: 77d8cf2
h: refs/heads/master
i:
  79101: fb661c0
  79099: cbe62df
  79095: 40e9589
  79087: bb82c4d
  79071: 5639726
  79039: 78e36f1
  78975: f2ca8f3
  78847: 24505d5
v: v3
  • Loading branch information
David Woodhouse authored and David S. Miller committed Jan 28, 2008
1 parent 9bfafb7 commit e53a420
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 38d1b4ce901506729f6c7f9a14f02f4327c577cc
refs/heads/master: 77d8cf2c093be3b58f6deed10673d0bc8cbd4202
6 changes: 5 additions & 1 deletion trunk/drivers/net/wireless/libertas/if_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,8 @@ static int __if_usb_submit_rx_urb(struct usb_card_rec *cardp,
if ((ret = usb_submit_urb(cardp->rx_urb, GFP_ATOMIC))) {
/* handle failure conditions */
lbs_deb_usbd(&cardp->udev->dev, "Submit Rx URB failed\n");
kfree_skb(skb);
rinfo->skb = NULL;
ret = -1;
} else {
/* lbs_deb_usbd(&cardp->udev->dev, "Submit Rx URB success\n"); */
Expand Down Expand Up @@ -667,8 +669,10 @@ static void if_usb_receive(struct urb *urb)
lbs_deb_usbd(&cardp->udev->dev,
"Recv length = 0x%x, Recv type = 0x%X\n",
recvlength, recvtype);
} else if (urb->status)
} else if (urb->status) {
kfree_skb(skb);
goto rx_exit;
}

switch (recvtype) {
case CMD_TYPE_DATA:
Expand Down

0 comments on commit e53a420

Please sign in to comment.