Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254600
b: refs/heads/master
c: e534c5b
h: refs/heads/master
v: v3
  • Loading branch information
Alan Stern authored and Greg Kroah-Hartman committed Jul 1, 2011
1 parent bc94097 commit 41b6c2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3140d5b2664309253ba465a14c89fe4f59c0359b
refs/heads/master: e534c5b831c8b8e9f5edee5c8a37753c808b80dc
2 changes: 2 additions & 0 deletions trunk/drivers/usb/core/message.c
Original file line number Diff line number Diff line change
Expand Up @@ -1286,6 +1286,8 @@ int usb_set_interface(struct usb_device *dev, int interface, int alternate)
interface);
return -EINVAL;
}
if (iface->unregistering)
return -ENODEV;

alt = usb_altnum_to_altsetting(iface, alternate);
if (!alt) {
Expand Down

0 comments on commit 41b6c2b

Please sign in to comment.