Procházet zdrojové kódy

qcacld-3.0: dump IBSS concurrency information

Dump IBSS related concurrency information

Change-Id: Id69bfa3681f38f9af376590f6bcc668f146ed9e8
CRs-fixed: 941652
Tushnim Bhattacharyya před 9 roky
rodič
revize
d9fdf894a9
1 změnil soubory, kde provedl 5 přidání a 1 odebrání
  1. 5 1
      core/cds/src/cds_concurrency.c

+ 5 - 1
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;
 		}