From: Jessica Nilsson <jessica.j.nils...@stericsson.com>

---
 gisi/modem.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/gisi/modem.c b/gisi/modem.c
index 734c4f1..143e761 100644
--- a/gisi/modem.c
+++ b/gisi/modem.c
@@ -370,13 +370,15 @@ static gboolean modem_subs_update(gpointer data)
 
                if (legacy)
                        msg[3 + count] = mux->resource;
-               else
+               else {
                        /* Resource field is 32bit and Little-endian */
                        msg[4 + count * 4 + 3] = mux->resource;
+               }
 
                count++;
        }
 
+       commgr.spn_dev = legacy ? modem->device : PN_DEV_MODEM;
        len = legacy ? 3 + count : 4 + count * 4;
        msg[2] = count;
 
-- 
1.7.3.5

_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

Reply via email to