cinterion: allow '*' in Prov/Cfg response

E.g. in a Cinterion PLS8-E (REVISION 04.004) to match the following
line:

  ^SCFG: "MEopMode/Prov/Cfg","fallback*"

Fix suggested by Jan Mazura.

See https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/347
This commit is contained in:
Aleksander Morgado
2021-03-21 11:24:18 +01:00
parent 192e067f97
commit 5285e958ab
2 changed files with 6 additions and 1 deletions

View File

@@ -1636,6 +1636,11 @@ static const ProvcfgResponseTest provcfg_response_tests[] = {
.str = "* ^SCFG: \"MEopMode/Prov/Cfg\",\"tmode\"",
.modem_family = MM_CINTERION_MODEM_FAMILY_DEFAULT,
.expected_cid = 2,
},
{
.str = "* ^SCFG: \"MEopMode/Prov/Cfg\",\"fallback*\"",
.modem_family = MM_CINTERION_MODEM_FAMILY_DEFAULT,
.expected_cid = 1,
}
};