summaryrefslogtreecommitdiffstats
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)
downloadpoky-9f55811c01db994df701d2d19e347033f362b60d.tar.gz
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 0000000000..808bb17b42
--- /dev/null
+++ b/meta/packages/gsm/files/fix_machine_init.patch
@@ -0,0 +1,23 @@
1Index: src/gsmd/gsmd.c
2===================================================================
3--- a/src/gsmd/gsmd.c (revision 4304)
4+++ b/src/gsmd/gsmd.c (working copy)
5@@ -196,13 +196,13 @@
6
7 sms_cb_init(gsmd);
8
9- if (gsmd->vendorpl && gsmd->vendorpl->initsettings){
10+ if (gsmd->vendorpl && gsmd->vendorpl->initsettings)
11 rc |= gsmd->vendorpl->initsettings(gsmd);
12+
13+ if (gsmd->machinepl && gsmd->machinepl->initsettings)
14 rc |= gsmd->machinepl->initsettings(gsmd);
15- return rc;
16- }
17- else
18- return rc;
19+
20+ return rc;
21 }
22
23 static int firstcmd_response = 0;