qcacmn: Fix for peer unref
Reference taken on peer with wrong MODULE_ID, hence while unref on peer is failing. Change-Id: Ifd4360ad8db877cfbf67fb6d80fdfb41aee4ff56 CRs-Fixed: 3317145
This commit is contained in:

committed by
Madan Koyyalamudi

parent
683ffb600f
commit
8c9cc20350
@@ -3438,7 +3438,7 @@ static inline bool dp_ipa_peer_check(struct dp_soc *soc,
|
|||||||
}
|
}
|
||||||
|
|
||||||
peer = dp_peer_get_ref_by_id(soc, ast_entry->peer_id,
|
peer = dp_peer_get_ref_by_id(soc, ast_entry->peer_id,
|
||||||
DP_MOD_ID_AST);
|
DP_MOD_ID_IPA);
|
||||||
|
|
||||||
if (!peer) {
|
if (!peer) {
|
||||||
qdf_spin_unlock_bh(&soc->ast_lock);
|
qdf_spin_unlock_bh(&soc->ast_lock);
|
||||||
|
Reference in New Issue
Block a user