mirror of git://git.sysmocom.de/ofono
udev: Add sanity check for ports on old Option devices
This commit is contained in:
parent
caad8378d9
commit
91bd71e996
|
@ -258,6 +258,9 @@ static gboolean setup_option(struct modem_info *modem)
|
|||
|
||||
}
|
||||
|
||||
if (aux == NULL || mdm == NULL)
|
||||
return FALSE;
|
||||
|
||||
DBG("aux=%s modem=%s diag=%s", aux, mdm, diag);
|
||||
|
||||
ofono_modem_set_string(modem->modem, "Aux", aux);
|
||||
|
|
Loading…
Reference in New Issue