diff options
Diffstat (limited to 'meta/recipes-connectivity/gsm/files')
-rw-r--r-- | meta/recipes-connectivity/gsm/files/fix_machine_init.patch | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/meta/recipes-connectivity/gsm/files/fix_machine_init.patch b/meta/recipes-connectivity/gsm/files/fix_machine_init.patch index 808bb17b4..9fb64660f 100644 --- a/meta/recipes-connectivity/gsm/files/fix_machine_init.patch +++ b/meta/recipes-connectivity/gsm/files/fix_machine_init.patch @@ -1,22 +1,25 @@ -Index: src/gsmd/gsmd.c -=================================================================== ---- a/src/gsmd/gsmd.c (revision 4304) -+++ b/src/gsmd/gsmd.c (working copy) -@@ -196,13 +196,13 @@ +Rebase the patch to latest version. + +By Dongxiao Xu <dongxiao.xu@intel.com> + +diff -ruN gsm-orig/src/gsmd/gsmd.c gsm/src/gsmd/gsmd.c +--- gsm-orig/src/gsmd/gsmd.c 2010-11-25 10:14:22.000000000 +0800 ++++ gsm/src/gsmd/gsmd.c 2010-11-25 10:14:52.000000000 +0800 +@@ -196,14 +196,11 @@ 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); +- if (gsmd->machinepl && gsmd->machinepl->initsettings) +- rc |= gsmd->machinepl->initsettings(gsmd); - return rc; - } - else - return rc; -+ ++ if (gsmd->machinepl && gsmd->machinepl->initsettings) ++ rc |= gsmd->machinepl->initsettings(gsmd); + return rc; } |