virtio_console: Initialize guest_connected=true for rproc_serial
authorSjur Brændeland <sjur.brandeland@stericsson.com>
Wed, 13 Feb 2013 10:27:21 +0000 (20:57 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 13 Feb 2013 10:27:45 +0000 (20:57 +1030)
commit8078db789a92b10ff6e2d713231b5367e014c53b
tree44009aa63f70e235ce4674abba9ff1333da7c8fd
parentb2a17029c29bb6f7dec580feffa715b9fcf51e42
virtio_console: Initialize guest_connected=true for rproc_serial

When rproc_serial is initialized, guest_connected should be set
to true. We can then revert the extra checks introduced in
commit: "virtio_console: Let unconnected rproc device receive data."

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