summaryrefslogtreecommitdiff
path: root/plugins/bluetooth.c
diff options
context:
space:
mode:
authorMartin Xu <martin.xu@intel.com>2010-09-19 16:31:01 +0800
committerMarcel Holtmann <marcel@holtmann.org>2010-09-19 20:28:55 +0900
commitaee270b7a1d8572a9973c7eb8462229d05f1a4dd (patch)
tree40d15dca0a7e0dda147d83e48a190d4c4a5f8b5f /plugins/bluetooth.c
parentc56e896b72c73fab69cc88678ef3c09cddc499ce (diff)
downloadconnman-aee270b7a1d8572a9973c7eb8462229d05f1a4dd.tar.gz
connman-aee270b7a1d8572a9973c7eb8462229d05f1a4dd.tar.bz2
connman-aee270b7a1d8572a9973c7eb8462229d05f1a4dd.zip
Ignore Bluetooth adapter if its address is 00:00:00:00:00:00
Diffstat (limited to 'plugins/bluetooth.c')
-rw-r--r--plugins/bluetooth.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index 62c14c8c..5b818f6b 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;