mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacld-3.0: debug check for l_rx_defrag_waitlist_remove(2)
qcacld-2.0 to qcacld-3.0 propagation Add extra check for tqe->next!= NULL, to assert in only error scenario Change-Id: I12e8ca5d5133ee0480d9c7c7c208854630272c89 CRs-Fixed: 839312
This commit is contained in:
parent
f24b357bf8
commit
9ffa9afe8d
1 changed files with 1 additions and 1 deletions
|
|
@ -400,7 +400,7 @@ void ol_rx_defrag_waitlist_remove(struct ol_txrx_peer_t *peer, unsigned tid)
|
|||
|
||||
rx_reorder->defrag_waitlist_elem.tqe_next = NULL;
|
||||
rx_reorder->defrag_waitlist_elem.tqe_prev = NULL;
|
||||
} else {
|
||||
} else if (rx_reorder->defrag_waitlist_elem.tqe_next != NULL) {
|
||||
TXRX_PRINT(TXRX_PRINT_LEVEL_FATAL_ERR,
|
||||
"waitlist->tqe_prv = NULL\n");
|
||||
CDF_ASSERT(0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue