projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2233b77
)
Ignore Bluetooth adapters that are currently down
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 7 Aug 2009 13:34:23 +0000
(06:34 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 7 Aug 2009 13:34:23 +0000
(06:34 -0700)
plugins/bluetooth.c
patch
|
blob
|
history
diff --git
a/plugins/bluetooth.c
b/plugins/bluetooth.c
index 29eb9cacb897fed25538eb5ca31d003e3ab7dddd..a0dafc67226946e7bce7260e694380533f1cb891 100644
(file)
--- 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);