caif_virtio: Use vringh_notify_enable correctly
authorSjur Brændeland <sjur.brandeland@stericsson.com>
Sun, 24 Mar 2013 03:49:44 +0000 (14:19 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Sun, 24 Mar 2013 03:59:14 +0000 (14:29 +1030)
commitb2273be8d2df7b77165a70930064aeb9e8faebfa
tree0f87b70a53fd151d8bfc0e9ee9c09dd2cc6b6526
parentcf994e0afae97382c0aa3cbc395805605d07a6e9
caif_virtio: Use vringh_notify_enable correctly

Check on the correct return value from
vringh_notify_enable_kern(). It returns false if
more packets are available, not true.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/net/caif/caif_virtio.c