summaryrefslogtreecommitdiffstats
path: root/src/modules/bluetooth/module-bluetooth-discover.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-10-04 13:00:51 +0200
committerLennart Poettering <lennart@poettering.net>2009-10-04 13:00:51 +0200
commit40c1ca76c48147c7648e1f1a72cc2c747f3d0c9b (patch)
treecbc1ef5c2794910880c6a23a2000587b52bd8145 /src/modules/bluetooth/module-bluetooth-discover.c
parentafd1b6d355ef1a41cb3592485855e273a5de69c1 (diff)
bluetooth: don't set auto_connect flag when discovering bt devices
Diffstat (limited to 'src/modules/bluetooth/module-bluetooth-discover.c')
-rw-r--r--src/modules/bluetooth/module-bluetooth-discover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/bluetooth/module-bluetooth-discover.c b/src/modules/bluetooth/module-bluetooth-discover.c
index 02fd4240..0085fa8e 100644
--- a/src/modules/bluetooth/module-bluetooth-discover.c
+++ b/src/modules/bluetooth/module-bluetooth-discover.c
@@ -117,7 +117,7 @@ static pa_hook_result_t load_module_for_device(pa_bluetooth_discovery *y, const
#endif
if (d->audio_source_state >= PA_BT_AUDIO_STATE_CONNECTED)
- args = pa_sprintf_malloc("%s profile=\"a2dp_source\"", args);
+ args = pa_sprintf_malloc("%s profile=\"a2dp_source\" auto_connect=no", args);
pa_log_debug("Loading module-bluetooth-device %s", args);
m = pa_module_load(u->module->core, "module-bluetooth-device", args);