diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-12-04 14:13:06 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-12-04 14:13:06 +0200 |
commit | 559e6476a17f8bfaff7ad79e0bfc04a87edc044b (patch) | |
tree | ae2df2f5a1a5e122aeee6f874efb103c0a19792b /audio/telephony-dummy.c | |
parent | 2cfe2bae7b0e82ab61b0f28805c3312646b08b67 (diff) |
Clean up AT+NREC behavior and API
In HFP 1.5 only AT+NREC=0 should be possible, but to accomodate for
future profile changes make the telephony.h API such that AT+NREC=1 is
possible without breaking the API.
Diffstat (limited to 'audio/telephony-dummy.c')
-rw-r--r-- | audio/telephony-dummy.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/telephony-dummy.c b/audio/telephony-dummy.c index 780d715d..9c13e91d 100644 --- a/audio/telephony-dummy.c +++ b/audio/telephony-dummy.c @@ -197,9 +197,11 @@ void telephony_call_hold_req(void *telephony_device, const char *cmd) telephony_call_hold_rsp(telephony_device, CME_ERROR_NONE); } -void telephony_disable_nr_and_ec_req(void *telephony_device) +void telephony_disable_nr_and_ec_req(void *telephony_device, gboolean enable) { - debug("telephony-dummy: got disable NR and EC request"); + debug("telephony-dummy: got %s NR and EC request", + enable ? "enable" : "disable"); + telephony_disable_nr_and_ec_rsp(telephony_device, CME_ERROR_NONE); } |