handle: Return POLLOUT | POLLWRNORM mask when no messages are pending
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 15 Aug 2014 19:43:37 +0000 (21:43 +0200)
committerDaniel Mack <zonque@gmail.com>
Fri, 15 Aug 2014 21:04:34 +0000 (23:04 +0200)
commit8f39898bacf863002eb74dbab80fdf882e08698d
treec1fdfb7f1495a9e4a01b338faf694d02a43f3add
parentb87dfdb28ac6458fd6d30a4406f9f4990e2b7b66
handle: Return POLLOUT | POLLWRNORM mask when no messages are pending

To facility the feature of doing an asynchronous sending of messages
when the bus is idle, make sure to return POLLOUT | POLLWRNORM from
kdbus_handle_poll.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
handle.c