qcacmn: Acquire lock before calling rx tid setup
The rx tid setup function is called from multiple contexts. Acquire lock before calling that function to avoid race condition. Change-Id: I7a0443e5e09a068301de171afeb4d400bf54b1c8 CRs-Fixed: 3291079
This commit is contained in:

committed by
Madan Koyyalamudi

parent
c3ea01cd1b
commit
cb33f7e1d3
@@ -4074,6 +4074,7 @@ static int dp_rx_tid_delete_wifi3(struct dp_peer *peer, int tid)
|
||||
if (!freedesc) {
|
||||
dp_peer_err("%pK: malloc failed for freedesc: tid %d",
|
||||
soc, tid);
|
||||
qdf_assert(0);
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user