Merge "qcacld-3.0: Convert wlan_hdd_hostapd.c to unified logging [6/7]" into wlan-cld3.driver.lnx.1.1-dev
diff --git a/core/hdd/src/wlan_hdd_scan.c b/core/hdd/src/wlan_hdd_scan.c
index 06f481c..577a069 100644
--- a/core/hdd/src/wlan_hdd_scan.c
+++ b/core/hdd/src/wlan_hdd_scan.c
@@ -606,7 +606,7 @@
 
 	hdd_info("Dequeue Scan id: %d", scan_id);
 
-	if ((source == NULL) && (timestamp == NULL) && (req == NULL))
+	if ((source == NULL) || (timestamp == NULL) || (req == NULL))
 		return QDF_STATUS_E_NULL_VALUE;
 
 	qdf_spin_lock(&hdd_ctx->hdd_scan_req_q_lock);