mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
qcacld-3.0: Fix excessive logs in pmkid lookup api
Fix excessive logs in pmkid lookup using bssid api. Change-Id: Ica534fc1a8028c9a4e6cc2d8ae155fd81849c03c CRs-Fixed: 2038017
This commit is contained in:
parent
b677c242af
commit
626b24560c
1 changed files with 3 additions and 2 deletions
|
|
@ -3418,15 +3418,16 @@ static bool csr_lookup_pmkid(tpAniSirGlobal pMac, uint32_t sessionId,
|
|||
return false;
|
||||
}
|
||||
|
||||
sme_debug("match PMKID " MAC_ADDRESS_STR " to ",
|
||||
MAC_ADDR_ARRAY(pBSSId));
|
||||
do {
|
||||
for (Index = 0; Index < CSR_MAX_PMKID_ALLOWED; Index++) {
|
||||
sme_debug("match PMKID " MAC_ADDRESS_STR " to ",
|
||||
MAC_ADDR_ARRAY(pBSSId));
|
||||
if (!qdf_mem_cmp
|
||||
(pBSSId, pSession->PmkidCacheInfo[Index].BSSID.bytes,
|
||||
sizeof(struct qdf_mac_addr))) {
|
||||
/* match found */
|
||||
fMatchFound = true;
|
||||
sme_debug("PMKID found");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue