quectel: fix debug output if QGPS isn't supported

FEATURE_NOT_SUPPORTED is equal 1 in the enum FeatureSupport, as a
result even if QGPS isn't supported by modem debug message printed
available support.
This commit is contained in:
Andrey Skvortsov
2023-06-25 16:44:20 +03:00
committed by Aleksander Morgado
parent 187bccf0af
commit 4174575d5d

View File

@@ -573,7 +573,7 @@ probe_qgps_ready (MMBaseModem *_self,
FEATURE_SUPPORTED : FEATURE_NOT_SUPPORTED);
mm_obj_dbg (self, "GPS management with +QGPS is %ssupported",
priv->qgps_supported ? "" : "not ");
priv->qgps_supported == FEATURE_SUPPORTED ? "" : "not ");
/* Recover parent sources */
sources = GPOINTER_TO_UINT (g_task_get_task_data (task));