r2353 - trunk/src/host/qemu-neo1973/hw

andrew at sita.openmoko.org andrew at sita.openmoko.org
Sun Jul 1 04:01:16 CEST 2007


Author: andrew
Date: 2007-07-01 04:01:15 +0200 (Sun, 01 Jul 2007)
New Revision: 2353

Modified:
   trunk/src/host/qemu-neo1973/hw/neo1973.c
Log:
Don't try to attach a Bluetooth dongle with USB disabled globally.


Modified: trunk/src/host/qemu-neo1973/hw/neo1973.c
===================================================================
--- trunk/src/host/qemu-neo1973/hw/neo1973.c	2007-06-30 00:28:24 UTC (rev 2352)
+++ trunk/src/host/qemu-neo1973/hw/neo1973.c	2007-07-01 02:01:15 UTC (rev 2353)
@@ -438,7 +438,8 @@
 
     neo_gsm_setup(s);
 
-    usb_device_attach(usb_bt_init(local_piconet));
+    if (usb_enabled)
+        usb_device_attach(usb_bt_init(local_piconet));
 
     /* Setup initial (reset) machine state */
     qemu_register_reset(neo_reset, s);





More information about the commitlog mailing list