summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-12-29 14:58:21 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-12-29 14:58:21 +0200
commit474420e554deeec2f7a6e2f4459c04cc90b038e8 (patch)
tree12b8ab2bc26005c6020209cb543f549d941bd09f
parentf76b60d3199160172b6cdd48a957ac7921911a8f (diff)
Remove usage of MSG_WAITALL from pcm_bluetooth.c as well
-rw-r--r--audio/pcm_bluetooth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c
index 3014b66a..ee23287a 100644
--- a/audio/pcm_bluetooth.c
+++ b/audio/pcm_bluetooth.c
@@ -823,7 +823,7 @@ static snd_pcm_sframes_t bluetooth_hsp_read(snd_pcm_ioplug_t *io,
goto proceed;
nrecv = recv(data->stream.fd, data->buffer, data->link_mtu,
- MSG_WAITALL | (io->nonblock ? MSG_DONTWAIT : 0));
+ io->nonblock ? MSG_DONTWAIT : 0);
if (nrecv < 0) {
ret = (errno == EPIPE) ? -EIO : -errno;