commit | b7a205545345578712611106b371538992e142ff | [log] [tgz] |
---|---|---|
author | Ben Hutchings <ben@decadent.org.uk> | Sun Feb 12 06:02:43 2012 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Feb 24 13:12:14 2012 -0800 |
tree | f725698c4e76afbfe95569ef73a735a30cf6ca37 | |
parent | 0cedc4e1c870d5d4811b3ed2aca98b41334f10e4 [diff] |
cdc-wdm: Don't clear WDM_READ unless entire read buffer is emptied The WDM_READ flag is cleared later iff desc->length is reduced to 0. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Tested-by: Bjørn Mork <bjorn@mork.no> Cc: Oliver Neukum <oliver@neukum.org> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>