Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22093
b: refs/heads/master
c: 24f8b11
h: refs/heads/master
i:
  22091: dfb2514
v: v3
  • Loading branch information
Horst Schirmeier authored and Greg Kroah-Hartman committed Mar 20, 2006
1 parent bb01779 commit 6eab307
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: f88f8295d8a9229fc8b647baf4f15959384d7bb7
refs/heads/master: 24f8b116c45e46779dec553f934c3d74f79c06fb
3 changes: 2 additions & 1 deletion trunk/drivers/usb/core/devio.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,8 @@ static int check_ctrlrecip(struct dev_state *ps, unsigned int requesttype, unsig
{
int ret = 0;

if (ps->dev->state != USB_STATE_CONFIGURED)
if (ps->dev->state != USB_STATE_ADDRESS
&& ps->dev->state != USB_STATE_CONFIGURED)
return -EHOSTUNREACH;
if (USB_TYPE_VENDOR == (USB_TYPE_MASK & requesttype))
return 0;
Expand Down

0 comments on commit 6eab307

Please sign in to comment.