summaryrefslogtreecommitdiff
path: root/meta/packages/gsm/files
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2008-08-01 14:12:38 +0000
committerRoss Burton <ross@openedhand.com>2008-08-01 14:12:38 +0000
commit9f55811c01db994df701d2d19e347033f362b60d (patch)
tree4afe32600baef6994aeeefdc06054fda0750b6e0 /meta/packages/gsm/files
parent6f626196ecd14789b14a251421da43ad97d3b861 (diff)
downloadopenembedded-core-9f55811c01db994df701d2d19e347033f362b60d.tar.gz
openembedded-core-9f55811c01db994df701d2d19e347033f362b60d.tar.bz2
openembedded-core-9f55811c01db994df701d2d19e347033f362b60d.tar.xz
openembedded-core-9f55811c01db994df701d2d19e347033f362b60d.zip
gsmd: add a patch to fix initialisation segfault
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5006 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gsm/files')
-rw-r--r--meta/packages/gsm/files/fix_machine_init.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/packages/gsm/files/fix_machine_init.patch b/meta/packages/gsm/files/fix_machine_init.patch
new file mode 100644
index 000000000..808bb17b4
--- /dev/null
+++ b/meta/packages/gsm/files/fix_machine_init.patch
@@ -0,0 +1,23 @@
+Index: src/gsmd/gsmd.c
+===================================================================
+--- a/src/gsmd/gsmd.c (revision 4304)
++++ b/src/gsmd/gsmd.c (working copy)
+@@ -196,13 +196,13 @@
+
+ sms_cb_init(gsmd);
+
+- if (gsmd->vendorpl && gsmd->vendorpl->initsettings){
++ if (gsmd->vendorpl && gsmd->vendorpl->initsettings)
+ rc |= gsmd->vendorpl->initsettings(gsmd);
++
++ if (gsmd->machinepl && gsmd->machinepl->initsettings)
+ rc |= gsmd->machinepl->initsettings(gsmd);
+- return rc;
+- }
+- else
+- return rc;
++
++ return rc;
+ }
+
+ static int firstcmd_response = 0;