Merge "[qca-nss-drv] Check if NSS is initialized before trying to send the message"
diff --git a/nss_hal/ipq806x/nss_hal_pvt.c b/nss_hal/ipq806x/nss_hal_pvt.c
index 04d71a4..0e061cd 100644
--- a/nss_hal/ipq806x/nss_hal_pvt.c
+++ b/nss_hal/ipq806x/nss_hal_pvt.c
@@ -837,9 +837,9 @@
 	int i, err;
 
 	/*
-	 * Both ubi core on ipq806x, configure just the core0
+	 * Both ubi core on ipq806x attach to the same clock, configure just the core0
 	 */
-	if (!nss_ctx->id) {
+	if (nss_ctx->id) {
 		return 0;
 	}