hal: Fix compilation error when COMPRESS flag is defined
-change "else if" condition to "if" to fix compilation error
when COMPRESS_ENABLED flag is defined.
Change-Id: Iab7412b202daaa08f5f85f21ec1e990447dc814f
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 4fc0d47..607d009 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -5556,7 +5556,7 @@
out->config.rate = out->sample_rate;
#else
- } else if ((out->dev->mode == AUDIO_MODE_IN_COMMUNICATION || voice_extn_compress_voip_is_active(out->dev)) &&
+ if ((out->dev->mode == AUDIO_MODE_IN_COMMUNICATION || voice_extn_compress_voip_is_active(out->dev)) &&
(out->flags == (AUDIO_OUTPUT_FLAG_DIRECT | AUDIO_OUTPUT_FLAG_VOIP_RX)) &&
(voice_extn_compress_voip_is_config_supported(config))) {
ret = voice_extn_compress_voip_open_output_stream(out);