st-hal: fix session in active even when concurrency disabled

If overall capture concurrency is disabled, session allow can
still return with true which is improper.
Fix the logic to return correct concurrency decision.

Change-Id: I668b39e832239b567e0afa136ab59382a23d97ff
diff --git a/sound_trigger_platform.c b/sound_trigger_platform.c
index ecef1d4..d6fd3ec 100644
--- a/sound_trigger_platform.c
+++ b/sound_trigger_platform.c
@@ -4728,9 +4728,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 {