hfp_ag_bluez5: Try to support non-phone hardware
authorDenis Kenzior <denkenz@gmail.com>
Mon, 25 Nov 2013 17:33:57 +0000 (11:33 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Mon, 25 Nov 2013 17:33:57 +0000 (11:33 -0600)
commit9b224fff795c8bfd72862a73c9b4e66bbd0b1916
tree2090d8e15bd944c3e35f6b32e39ebf356275c031
parent06598ef47c58408a9c21890f8ff344fede565724
hfp_ag_bluez5: Try to support non-phone hardware

For devices which are not 'real' phone modems, the voicecall
initialization can happen outside of the pre-sim state.  In this case
the voicecall atom detection logic fails.  Try to detect the voicecall
atom separately, and register the profile if the SIM atom is already
present and in state 'READY'.

For all other cases, the previous logic still applies.
plugins/hfp_ag_bluez5.c