From d475cfe2b2824590670e93a3b62a838a97a1a7fd Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Mon, 24 Dec 2012 18:48:13 +0200 Subject: [PATCH] core: Fix storing adapter info when connectable changes Since we don't store the Connectable info persistently it doesn't make any sense to call store_adapter_info() when the connectable state changes. --- src/adapter.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/adapter.c b/src/adapter.c index 4864b10f1..e71cea837 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -2999,8 +2999,6 @@ void adapter_update_connectable(struct btd_adapter *adapter, bool connectable) } adapter->connectable = connectable; - - store_adapter_info(adapter); } void adapter_update_discoverable(struct btd_adapter *adapter, -- 2.47.3