Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349243
b: refs/heads/master
c: 6b4ef60
h: refs/heads/master
i:
  349241: b46e9c1
  349239: e5df646
v: v3
  • Loading branch information
Bjørn Mork authored and David S. Miller committed Jan 21, 2013
1 parent 3176ed4 commit 0638893
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 328d7b8a4ab045484e1cc09579abf13c8c6223e3
refs/heads/master: 6b4ef60299e30daa8643218fde6152d8a01e2d4b
3 changes: 2 additions & 1 deletion trunk/drivers/net/usb/cdc_ncm.c
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,8 @@ int cdc_ncm_bind_common(struct usbnet *dev, struct usb_interface *intf, u8 data_
error2:
usb_set_intfdata(ctx->control, NULL);
usb_set_intfdata(ctx->data, NULL);
usb_driver_release_interface(driver, ctx->data);
if (ctx->data != ctx->control)
usb_driver_release_interface(driver, ctx->data);
error:
cdc_ncm_free((struct cdc_ncm_ctx *)dev->data[0]);
dev->data[0] = 0;
Expand Down

0 comments on commit 0638893

Please sign in to comment.