From 474420e554deeec2f7a6e2f4459c04cc90b038e8 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Mon, 29 Dec 2008 14:58:21 +0200 Subject: Remove usage of MSG_WAITALL from pcm_bluetooth.c as well --- audio/pcm_bluetooth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit