qcacld-3.0: Print the last acl mac address
Host won't print acl mac address if size equal to MAX_ACL_MAC_ADDRESS. The logic is unreasonable and add this change allows to print acl mac address if size equal to MAX_ACL_MAC_ADDRESS. Change-Id: Iabf10c7c5584d4217be98f7e1f3e67c94a6096a1 CRs-Fixed: 3100336
This commit is contained in:
committed by
Madan Koyyalamudi
parent
8077a0f43b
commit
659daa3fb8
@@ -3788,7 +3788,7 @@ void sap_print_acl(struct qdf_mac_addr *macList, uint16_t size)
|
|||||||
|
|
||||||
sap_debug("print acl entered");
|
sap_debug("print acl entered");
|
||||||
|
|
||||||
if ((!macList) || (size == 0) || (size >= MAX_ACL_MAC_ADDRESS)) {
|
if ((!macList) || (size == 0) || (size > MAX_ACL_MAC_ADDRESS)) {
|
||||||
sap_err("Either buffer is NULL or size %d is incorrect", size);
|
sap_err("Either buffer is NULL or size %d is incorrect", size);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user