From: Marcel Holtmann Date: Fri, 7 Aug 2009 13:34:23 +0000 (-0700) Subject: Ignore Bluetooth adapters that are currently down X-Git-Tag: 2.0_alpha~3345 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ada0424e1f73834107bfcac6afefb465b53210c;p=framework%2Fconnectivity%2Fconnman.git Ignore Bluetooth adapters that are currently down --- diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c index 29eb9ca..a0dafc6 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);