Commit 5660a9e0 authored by Devin Lin's avatar Devin Lin 🎨
Browse files

mmplugin: Fix SIM being reported as locked when no sim is inserted

parent 9cf37ea6
Pipeline #135983 passed with stages
in 58 seconds
......@@ -28,7 +28,7 @@ bool SignalIndicator::simLocked() const
if (!m_modem) {
return false;
return !(m_modem->unlockRequired() == MM_MODEM_LOCK_NONE || m_modem->unlockRequired() == MM_MODEM_LOCK_SIM_PIN2);
return m_modem->unlockRequired() == MM_MODEM_LOCK_SIM_PIN;
bool SignalIndicator::available() const
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment