aboutsummaryrefslogtreecommitdiffstats
path: root/hw/usb-bt.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-09 02:24:54 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-09 02:24:54 +0000
commit2d5646916d77bc8f3597804feed8a65fe3964e70 (patch)
tree38752c99192ee3c0f49c01122a22afbc8d58a68b /hw/usb-bt.c
parentac4b0d0c4feb291643c0e8a07a92e449e13881b5 (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/usb-bt.c')
-rw-r--r--hw/usb-bt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/usb-bt.c b/hw/usb-bt.c
index b9b3463c0..30efb45a1 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;