ModemManager patch to fix git master compilation



Some recent commit broke compilation of the samsung plugin in
ModemManager, patch attached.

Cheers,

-- 
Aleksander
>From dc814cd3204f04a85d9f6de93acadb71debbd83d Mon Sep 17 00:00:00 2001
From: Aleksander Morgado <aleksander lanedo com>
Date: Fri, 25 Mar 2011 17:24:48 +0100
Subject: [PATCH] samsung: Added NULL custom callback for the init response

Fixes compilation after API change of
mm_plugin_base_supports_task_set_custom_init_command()
in commit b3b1d53
---
 plugins/mm-plugin-samsung.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/mm-plugin-samsung.c b/plugins/mm-plugin-samsung.c
index 958a44d..5b551c5 100755
--- a/plugins/mm-plugin-samsung.c
+++ b/plugins/mm-plugin-samsung.c
@@ -102,7 +102,7 @@ done:
         return MM_PLUGIN_SUPPORTS_PORT_UNSUPPORTED;
     }
 
-    mm_plugin_base_supports_task_set_custom_init_command (task, "+CFUN=1", 10, 4, FALSE);
+    mm_plugin_base_supports_task_set_custom_init_command (task, "+CFUN=1", 10, 4, FALSE, NULL, NULL);
 
     /* Otherwise kick off a probe */
     if (mm_plugin_base_probe_port (base, task, NULL))
-- 
1.7.1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]