From aee270b7a1d8572a9973c7eb8462229d05f1a4dd Mon Sep 17 00:00:00 2001 From: Martin Xu Date: Sun, 19 Sep 2010 16:31:01 +0800 Subject: [PATCH] Ignore Bluetooth adapter if its address is 00:00:00:00:00:00 --- plugins/bluetooth.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c index 62c14c8..5b818f6 100644 --- a/plugins/bluetooth.c +++ b/plugins/bluetooth.c @@ -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; -- 2.7.4