diff --git a/scripts/modem/sxmo_modemaudio.sh b/scripts/modem/sxmo_modemaudio.sh index b29f6ec..41acf03 100755 --- a/scripts/modem/sxmo_modemaudio.sh +++ b/scripts/modem/sxmo_modemaudio.sh @@ -27,7 +27,10 @@ reset_audio() { if ! sxmo_hook_call_audio.sh "disable"; then return 1 fi - disable_call_audio_mode + if ! disable_call_audio_mode; then + return 1 + fi + sxmo_hook_call_audio.sh "disable" } toggle_speaker() {