Ignore Bluetooth adapter if its address is 00:00:00:00:00:00
authorMartin Xu <martin.xu@intel.com>
Sun, 19 Sep 2010 08:31:01 +0000 (16:31 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 19 Sep 2010 11:28:55 +0000 (20:28 +0900)
plugins/bluetooth.c

index 62c14c8..5b818f6 100644 (file)
@@ -616,6 +616,9 @@ static void adapter_properties_reply(DBusPendingCall *call, void *user_data)
        if (address == NULL)
                goto done;
 
+       if (g_strcmp0(address, "00:00:00:00:00:00") == 0)
+               goto done;
+
        device = g_hash_table_lookup(bluetooth_devices, path);
        if (device != NULL)
                goto update;