summaryrefslogtreecommitdiffstats
path: root/audio/pcm_bluetooth.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/pcm_bluetooth.c')
-rw-r--r--audio/pcm_bluetooth.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c
index 9e5058c0..6338bc25 100644
--- a/audio/pcm_bluetooth.c
+++ b/audio/pcm_bluetooth.c
@@ -221,9 +221,7 @@ iter_sleep:
} else if (ret > 0) {
ret = (fds[0].revents) ? 0 : 1;
SNDERR("poll fd %d revents %d", ret, fds[ret].revents);
- if (fds[ret].revents & POLLERR ||
- fds[ret].revents & POLLHUP ||
- fds[ret].revents & POLLNVAL)
+ if (fds[ret].revents & (POLLERR | POLLHUP | POLLNVAL))
break;
}