Merge "st-hal: fix session in active even when concurrency disabled"
diff --git a/sound_trigger_platform.c b/sound_trigger_platform.c
index 24e82f0..18e59e2 100644
--- a/sound_trigger_platform.c
+++ b/sound_trigger_platform.c
@@ -4693,9 +4693,12 @@
                 num_sessions > stdev->rx_conc_max_st_ses)
                 concurrency_ses_allowed = false;
         }
-        if (concurrency_ses_allowed && stdev->conc_capture_supported) {
-            if ((!stdev->conc_voice_call_supported && stdev->conc_voice_active) ||
-                (!stdev->conc_voip_call_supported && stdev->conc_voip_active))
+        if (concurrency_ses_allowed) {
+            if ((!stdev->conc_capture_supported &&
+                 stdev->tx_concurrency_active > 0) ||
+                (stdev->conc_capture_supported &&
+                 ((!stdev->conc_voice_call_supported && stdev->conc_voice_active) ||
+                  (!stdev->conc_voip_call_supported && stdev->conc_voip_active))))
                 concurrency_ses_allowed = false;
         }
     } else {