diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-09 02:24:54 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-09 02:24:54 +0000 |
commit | 2d5646916d77bc8f3597804feed8a65fe3964e70 (patch) | |
tree | 38752c99192ee3c0f49c01122a22afbc8d58a68b /hw | |
parent | ac4b0d0c4feb291643c0e8a07a92e449e13881b5 (diff) |
Document bluetooth support in qemu-doc.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5654 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r-- | hw/usb-bt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/usb-bt.c b/hw/usb-bt.c index b9b3463c05..30efb45a1c 100644 --- a/hw/usb-bt.c +++ b/hw/usb-bt.c @@ -623,6 +623,8 @@ USBDevice *usb_bt_init(HCIInfo *hci) { struct USBBtState *s; + if (!hci) + return NULL; s = qemu_mallocz(sizeof(struct USBBtState)); if (!s) return NULL; |