cinterion: don't cache voice support check AT commands

The result of these commands may be different before and after SIM-PIN
unlock, so never cache them.
This commit is contained in:
Aleksander Morgado
2019-09-24 14:53:42 +02:00
parent 57e7841308
commit 45cf1ba20a

View File

@@ -1315,7 +1315,10 @@ parent_voice_check_support_ready (MMIfaceModemVoice *self,
mm_base_modem_at_command (MM_BASE_MODEM (self), mm_base_modem_at_command (MM_BASE_MODEM (self),
"^SLCC=?", "^SLCC=?",
3, 3,
TRUE, /* Do NOT cache as the reply may be different if PIN locked
* or unlocked. E.g. we may not support ^SLCC for emergency
* voice calls. */
FALSE,
(GAsyncReadyCallback) slcc_format_check_ready, (GAsyncReadyCallback) slcc_format_check_ready,
task); task);
} }