aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-03-02 14:13:32 +0100
committerAleksander Morgado <aleksander@lanedo.com>2013-03-05 19:41:08 +0100
commit8450b7b2a39a6e1c9fda950dc3f821984c73c56b (patch)
tree07945756d370217e9174ffcebab602b44f1e56b9 /src/main.c
parent3678ae53788848d2e202d9afcc7f8eb9577fc427 (diff)
core: don't automatically probe ports of USB<->serial adapters
We should not automatically probe ports marked as coming from USB to serial adapters, as we're not sure that a modem is behind the adapter. Still, let the user request a manual scan and have these devices probed in that case. https://bugzilla.gnome.org/show_bug.cgi?id=647556 https://bugzilla.gnome.org/show_bug.cgi?id=691076
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 29b87a49..4841c3d7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -78,9 +78,9 @@ name_acquired_cb (GDBusConnection *connection,
{
mm_dbg ("Service name '%s' was acquired", name);
- /* Launch scan for devices */
+ /* Launch automatic scan for devices */
g_assert (manager);
- mm_manager_start (manager);
+ mm_manager_start (manager, FALSE);
}
static void