qcacmn: Fix to add AST entry during WDS to static roaming
Fix to add AST entry during WDS to static roaming Change-Id: I761eef2d1ea384832e152a64252f08d2c71652cc CRs-fixed: 2539088
This commit is contained in:

committed by
nshrivas

父節點
fef509bc58
當前提交
e03a81b08a
@@ -647,8 +647,15 @@ int dp_peer_add_ast(struct dp_soc *soc,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (is_peer_found) {
|
if (is_peer_found) {
|
||||||
qdf_spin_unlock_bh(&soc->ast_lock);
|
/* During WDS to static roaming, peer is added
|
||||||
return 0;
|
* to the list before static AST entry create.
|
||||||
|
* So, allow AST entry for STATIC type
|
||||||
|
* even if peer is present
|
||||||
|
*/
|
||||||
|
if (type != CDP_TXRX_AST_TYPE_STATIC) {
|
||||||
|
qdf_spin_unlock_bh(&soc->ast_lock);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
/* For HWMWDS_SEC entries can be added for same mac address
|
/* For HWMWDS_SEC entries can be added for same mac address
|
||||||
|
Reference in New Issue
Block a user