summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorService qcabuildsw <qcabuildsw@localhost>2016-12-22 17:15:26 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-22 17:15:26 -0800
commit76de0048dc312394c8f4f0ebb4bcc2e3c74eb769 (patch)
tree203ee56f5700e1808e172c6293a0ae97338faa8d
parent51be615e680a5ac2aa2c2e1b23aafec7c5562736 (diff)
parenta10377ca8a8b3c99558826683e99f3eb9c49999d (diff)
Merge "qcacld-3.0: Fix incorrect condition in sap_add_mac_to_acl function" into wlan-cld3.driver.lnx.1.1-dev
-rw-r--r--core/sap/src/sap_fsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sap/src/sap_fsm.c b/core/sap/src/sap_fsm.c
index 6f4ab26fe79a..62b0594e5d8e 100644
--- a/core/sap/src/sap_fsm.c
+++ b/core/sap/src/sap_fsm.c
@@ -4480,7 +4480,7 @@ void sap_add_mac_to_acl(struct qdf_mac_addr *macList,
QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_INFO_HIGH,
"add acl entered");
- if (NULL == macList || *size == 0 || *size > MAX_ACL_MAC_ADDRESS) {
+ if (NULL == macList || *size > MAX_ACL_MAC_ADDRESS) {
QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_INFO_HIGH,
FL("either buffer is NULL or size = %d is incorrect."),
*size);