From da030cbca692335dd3c16ffa6999c701d556f6b6 Mon Sep 17 00:00:00 2001 From: Tushnim Bhattacharyya Date: Tue, 17 Nov 2015 17:42:59 -0800 Subject: [PATCH] qcacld-3.0: dump IBSS concurrency information Dump IBSS related concurrency information Change-Id: Id69bfa3681f38f9af376590f6bcc668f146ed9e8 CRs-fixed: 941652 --- core/cds/src/cds_concurrency.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/cds/src/cds_concurrency.c b/core/cds/src/cds_concurrency.c index fe41bb41c7e7..6d24eb1b84c5 100644 --- a/core/cds/src/cds_concurrency.c +++ b/core/cds/src/cds_concurrency.c @@ -2879,6 +2879,11 @@ static void cds_dump_legacy_concurrency(hdd_context_t *hdd_ctx, { const char *cc_mode = "Standalone"; + if ((sta_channel == 0) && (ap_channel == 0) && (p2p_channel == 0)) { + cds_err("IBSS standalone"); + hdd_ctx->mcc_mode = 0; + return; + } if (sta_channel > 0) { if (ap_channel > 0) { if (p2p_channel > 0) { @@ -3027,7 +3032,6 @@ void cds_dump_concurrency_info(hdd_context_t *hdd_ctx) } break; case WLAN_HDD_IBSS: - return; /* skip printing station message below */ default: break; }