summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/bluetooth-client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c
index 8a81d850..f0f6b36f 100644
--- a/lib/bluetooth-client.c
+++ b/lib/bluetooth-client.c
@@ -1157,6 +1157,7 @@ _bluetooth_client_set_default_adapter_discovering (BluetoothClient *client,
if (adapter == NULL) {
g_debug ("%s discovery requested, but no default adapter",
discovering ? "Starting" : "Stopping");
+ client->discovery_started = FALSE;
return;
}