diff options
| author | Edwin Olson <eolson@mit.edu> | 2004-12-15 00:01:23 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2004-12-15 00:01:23 -0800 |
| commit | 31563b8c7c3e601d06b4f3d0f2c234d14d3df5b4 (patch) | |
| tree | 911dfca02f7dea276eafcf94d5f0ef90d779debf /include/linux | |
| parent | ab9c3c03b421422524ab294a881be4916d8cfc6a (diff) | |
[PATCH] usb-serial: add tty_hangup on disconnect
When a USB serial device is disconnected, user applications performing a
read() now receive an error code, rather than waiting indefinitely. The
included patch is originally from Al Borchers, massaged to apply to
2.6.9 and 2.6.10-rc2. I've tested it on 2.6.9, but not on 2.6.10-rc2.
Al Borcher's original post:
http://www.mail-archive.com/linux-usb-devel@lists.sourceforge.net/msg27475.html
Signed-off-by: Edwin Olson (eolson@mit.edu)
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
