From: Marcel Holtmann Date: Fri, 7 Aug 2009 13:34:23 +0000 (-0700) Subject: Ignore Bluetooth adapters that are currently down X-Git-Tag: 0.39~62 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ada0424e1f73834107bfcac6afefb465b53210c;p=platform%2Fupstream%2Fconnman.git Ignore Bluetooth adapters that are currently down --- diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c index 29eb9cac..a0dafc67 100644 --- a/plugins/bluetooth.c +++ b/plugins/bluetooth.c @@ -633,7 +633,8 @@ update: connman_device_set_powered(device, powered); connman_device_set_scanning(device, scanning); - check_networks(device, &networks); + if (powered == TRUE) + check_networks(device, &networks); done: dbus_message_unref(reply);