diff options
author | Martin Hundebøll <martin@geanix.com> | 2019-10-07 23:39:59 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2019-10-11 12:19:52 -0500 |
commit | ab9cb3b47c0d89105a7a439eca9593d907b90328 (patch) | |
tree | 954eb3cadb0d737933de0ced564758d78a0fd786 /plugins | |
parent | d0398b3965105b981502fca68afe4f244bc8d443 (diff) | |
download | ofono-ab9cb3b47c0d89105a7a439eca9593d907b90328.tar.gz |
udevng: Support quectel MUX settings
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/udevng.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/udevng.c b/plugins/udevng.c index 40ed2b02..4a38621b 100644 --- a/plugins/udevng.c +++ b/plugins/udevng.c @@ -894,6 +894,11 @@ static gboolean setup_quectel_serial(struct modem_info *modem) ofono_modem_set_string(modem->modem, "GpioOffset", value); value = udev_device_get_property_value(info->dev, + "OFONO_QUECTEL_MUX"); + if (value) + ofono_modem_set_string(modem->modem, "Mux", value); + + value = udev_device_get_property_value(info->dev, "OFONO_QUECTEL_RTSCTS"); ofono_modem_set_string(modem->modem, "RtsCts", value ? value : "off"); ofono_modem_set_string(modem->modem, "Device", info->devnode); |