~phablet-team/ofono/midori-support

« back to all changes in this revision

Viewing changes to drivers/hfpmodem/network-registration.c

  • Committer: Alfonso Sanchez-Beato
  • Date: 2015-09-28 08:10:59 UTC
  • mfrom: (6830.1.168)
  • mto: This revision was merged to the branch mainline in revision 6904.
  • Revision ID: alfonso.sanchez-beato@canonical.com-20150928081059-1o08e2a9pkit6ar6
* Update to upstream release 1.17
* Do not assert when the radio is unavailable (LP: #1490991)
* Fix crash when importing phonebook (LP: #1486004)
* Check only destination port when receiving push (LP: #1490673)
* Fix crash when retrying to close context (LP: #1492483)

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
 
47
47
static const char *cops_prefix[] = { "+COPS:", NULL };
48
48
static const char *cind_prefix[] = { "+CIND:", NULL };
 
49
static const char *none_prefix[] = { NULL };
49
50
 
50
51
struct netreg_data {
51
52
        GAtChat *chat;
263
264
 
264
265
        cbd->user = netreg;
265
266
 
266
 
        ok = g_at_chat_send(nd->chat, "AT+COPS=3,0", NULL,
 
267
        ok = g_at_chat_send(nd->chat, "AT+COPS=3,0", none_prefix,
267
268
                        NULL, cbd, NULL);
268
269
 
269
270
        if (ok)