浏览代码

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
Devender Kumar 2 年之前
父节点
当前提交
8c9cc20350
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dp/wifi3.0/dp_ipa.c

+ 1 - 1
dp/wifi3.0/dp_ipa.c

@@ -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,
-				     DP_MOD_ID_AST);
+				     DP_MOD_ID_IPA);
 
 	if (!peer) {
 		qdf_spin_unlock_bh(&soc->ast_lock);