~connman-maintainers/ofono/trunk

Viewing all changes in revision 8910.

  • Committer: Denis Kenzior
  • Author(s): Ivaylo Dimitrov
  • Date: 2022-09-19 16:04:08 UTC
  • Revision ID: git-v1:536f108011de7876b3bab3feb63c6fa1c3649046
voicecall: Make sure SIM ecc numbers are always read

It might happen that by the time ofono_voicecall_register() is called, SIM
is already in OFONO_SIM_STATE_READY state so SIM emergency numbers are
never read.

Fix that by adding code that reads emergency numbers even in the above
case. Also, make sure ECC file watch is properly removed and sim_context is
free()-ed.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: