Diff between d6e9539e31c6bb5afd39ec6f09c518d232e6345d and f9a2b1f515c7f5dced80397f4ea891d6c372175d
Changed Files
| File | Additions | Deletions | Status |
| client/main.c | +1 | -3 | modified |
Full Patch
diff --git a/client/main.c b/client/main.c
index 5ce65ef..3536c95 100644
--- a/client/main.c
+++ b/client/main.c
@@ -678,9 +678,7 @@ static void proxy_removed(GDBusProxy *proxy, void *user_data)
} else if (!strcmp(interface, "org.bluez.GattManager1")) {
gatt_remove_manager(proxy);
} else if (!strcmp(interface, "org.bluez.LEAdvertisingManager1")) {
- if(!dbus_conn){
- ad_unregister(dbus_conn, NULL);
- }
+ ad_unregister(dbus_conn, NULL);
}
}