Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232625
b: refs/heads/master
c: 0cdfb81
h: refs/heads/master
i:
  232623: 0a7872d
v: v3
  • Loading branch information
David Sterba authored and Greg Kroah-Hartman committed Jan 23, 2011
1 parent 3178baa commit d458af9
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 952eca0a95e27660f7a56a7186b9bd09d791ced4
refs/heads/master: 0cdfb819b6a97e79c7a0aa0c471cd7000367103b
2 changes: 1 addition & 1 deletion trunk/drivers/usb/class/cdc-wdm.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ static ssize_t wdm_write
goto outnp;
}

if (!file->f_flags && O_NONBLOCK)
if (!(file->f_flags & O_NONBLOCK))
r = wait_event_interruptible(desc->wait, !test_bit(WDM_IN_USE,
&desc->flags));
else
Expand Down

0 comments on commit d458af9

Please sign in to comment.