summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorLars Poeschel <poeschel@lemonage.de>2020-08-11 13:42:16 +0200
committerDenis Kenzior <denkenz@gmail.com>2020-08-11 10:47:58 -0500
commita01613ad13e6bbf9afef0b92a73a20fdff6c624e (patch)
treed4a17b754e5f10870de3061231955a15a2d32d6a /plugins
parent3401d9e29cdfe728ecb28c2eb4487892d4f32ffc (diff)
downloadofono-a01613ad13e6bbf9afef0b92a73a20fdff6c624e.tar.gz
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.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/quectel.c2
1 files changed, 1 insertions, 1 deletions
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 = {