> 
>      /* Is the device in the manual-only greylist? If so, return if this is an
>       * automatic scan. */
> -    if (!manual_scan && g_udev_device_get_property_as_boolean (physdev, 
> "ID_MM_DEVICE_MANUAL_SCAN_ONLY")) {
> -        mm_dbg ("(%s/%s): port probed only in manual scan", subsys, name);
> +    if (!manual_scan && !g_udev_device_get_property_as_boolean (physdev, 
> "ID_MM_DEVICE_AUTO_SCAN_SAFE")) {
> +        mm_dbg ("(%s/%s): port not known to be safe, probed only in manual 
> scan", subsys, name);
>          goto out;
>      }

That will effectively block probing for all device ports (QMI, MBIM, net...), 
not only TTYs.

-- 
Aleksander

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to