diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/headset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/headset.c b/audio/headset.c index c4eefe23..74093afa 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -616,7 +616,7 @@ static int response_and_hold(struct audio_device *device, const char *buf) headset_send(hs, "\r\nERROR\r\n"); return 0; } - } else + } else if (ag.rh >= 0) headset_send(hs, "\r\n+BTRH:%d\r\n", ag.rh); return headset_send(hs, "\r\nOK\n\r", ag.rh); |