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:

committed by
Aleksander Morgado

parent
187bccf0af
commit
4174575d5d
@@ -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));
|
||||
|
Reference in New Issue
Block a user