mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
qemu-char: Rename opened to be_open
Rename the opened variable to be_open to reflect that it contains the opened state of the backend. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Message-id: 1364292483-16564-2-git-send-email-hdegoede@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
99835e0084
commit
16665b943b
5 changed files with 8 additions and 8 deletions
|
@ -495,7 +495,7 @@ static int usb_serial_initfn(USBDevice *dev)
|
|||
usb_serial_event, s);
|
||||
usb_serial_handle_reset(dev);
|
||||
|
||||
if (s->cs->opened && !dev->attached) {
|
||||
if (s->cs->be_open && !dev->attached) {
|
||||
usb_device_attach(dev);
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue