udev: Add sanity check for ports on old Option devices

This commit is contained in:
Marcel Holtmann 2012-02-16 18:36:23 +01:00
parent caad8378d9
commit 91bd71e996
1 changed files with 3 additions and 0 deletions

View File

@ -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);