diff options
-rw-r--r-- | binding/bluetooth-api.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/binding/bluetooth-api.c b/binding/bluetooth-api.c index 52d4f19..9ce0541 100644 --- a/binding/bluetooth-api.c +++ b/binding/bluetooth-api.c @@ -290,6 +290,10 @@ static void bluez_devices_signal_callback( g_variant_get(parameters, "(&oa{sa{sv}})", &path, &array); + // no adapter or device in path + if (!g_strcmp0(path, BLUEZ_PATH)) + return; + jresp = json_object_new_object(); json_process_path(jresp, path); |