qcacld-3.0: Fix Suspicious pointer dereference before NULL check

qcacld-2.0 to qcacld-3.0 propagation

Fix to add NULL check before dereference of pointer

Change-Id: I520aca1fc46cf3fbb30d2f068f6da43a2b2986e6
CRs-Fixed: 965800
diff --git a/core/wma/src/wma_features.c b/core/wma/src/wma_features.c
index 3e500bc..669854c 100644
--- a/core/wma/src/wma_features.c
+++ b/core/wma/src/wma_features.c
@@ -1506,7 +1506,7 @@
 
 	WMA_LOGD(FL("Send OEM Data Request to target"));
 
-	if (!startOemDataReq && !startOemDataReq->data) {
+	if (!startOemDataReq || !startOemDataReq->data) {
 		WMA_LOGE(FL("startOemDataReq is null"));
 		goto out;
 	}