From a01613ad13e6bbf9afef0b92a73a20fdff6c624e Mon Sep 17 00:00:00 2001 From: Lars Poeschel Date: Tue, 11 Aug 2020 13:42:16 +0200 Subject: atmodem: Get strength and tech the quectel way on EC21 I had some trouble getting network strengh and access technology the standard way on Quectel EC21. It does work - but only kind of. I did not get URCs when I am sure I should. This way through CIEV, CIND and CMER is also not documented in Quectel documentation, so I suspect this to be unsupported. This is now changed to the "quectelish" way of gettings those values and this does work more fine-grained and reliable on the Quectel EC21. --- plugins/quectel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/quectel.c b/plugins/quectel.c index 8ca901f2..c3343008 100644 --- a/plugins/quectel.c +++ b/plugins/quectel.c @@ -1286,7 +1286,7 @@ static void quectel_post_online(struct ofono_modem *modem) DBG("%p", modem); - ofono_netreg_create(modem, 0, "atmodem", data->aux); + ofono_netreg_create(modem, data->vendor, "atmodem", data->aux); } static struct ofono_modem_driver quectel_driver = { -- cgit v1.2.1