summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Matyukevich <geomatsi@gmail.com>2020-12-21 23:01:29 +0300
committerDenis Kenzior <denkenz@gmail.com>2020-12-22 10:34:48 -0600
commit97aea7414c381f123d3b6805f9bdd7d80c95ac33 (patch)
tree82f207ea3569c538bc1563f99f2a050adbcf2314
parentcf9e6d048d65ff4a87f5707b0cc4fd3c036d62fb (diff)
downloadofono-97aea7414c381f123d3b6805f9bdd7d80c95ac33.tar.gz
plugin: gemalto: fix source of gprs notifications
Modem USB interface does not receive certain gprs context notifications. Fix gprs chat: use Application USB interface to receive all the modem notifications.
-rw-r--r--plugins/gemalto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gemalto.c b/plugins/gemalto.c
index 238c7cc4..28ee3aff 100644
--- a/plugins/gemalto.c
+++ b/plugins/gemalto.c
@@ -606,7 +606,7 @@ static void gemalto_post_sim(struct ofono_modem *modem)
driver = "atmodem";
}
- gc = ofono_gprs_context_create(modem, 0, driver, data->mdm);
+ gc = ofono_gprs_context_create(modem, 0, driver, data->app);
if (gprs && gc)
ofono_gprs_add_context(gprs, gc);