Revision d261154057c27f6c1d256b6198b0ad08733f1758 authored by Ian Abbott on 19 May 2010, 16:22:41 UTC, committed by Greg Kroah-Hartman on 04 June 2010, 20:38:53 UTC
For write(), any data copied to the data buffer after the previously set up streaming acquisition command has finished won't be used, but a non-empty write() does not currently return 0 (or -EPIPE on error) after the command has finished until the data buffer has been filled up. Change this behavior to return 0 (or -EPIPE) any time after the command has finished, without bothering to fill up the buffer with more useless data. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent ee4063f
File | Mode | Size |
---|---|---|
bnep | ||
cmtp | ||
hidp | ||
rfcomm | ||
Kconfig | -rw-r--r-- | 2.7 KB |
Makefile | -rw-r--r-- | 372 bytes |
af_bluetooth.c | -rw-r--r-- | 9.9 KB |
hci_conn.c | -rw-r--r-- | 15.7 KB |
hci_core.c | -rw-r--r-- | 35.5 KB |
hci_event.c | -rw-r--r-- | 43.9 KB |
hci_sock.c | -rw-r--r-- | 15.5 KB |
hci_sysfs.c | -rw-r--r-- | 11.8 KB |
l2cap.c | -rw-r--r-- | 104.3 KB |
lib.c | -rw-r--r-- | 2.8 KB |
sco.c | -rw-r--r-- | 21.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...