Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 935f00af authored by Yeshwanth Sriram Guntuka's avatar Yeshwanth Sriram Guntuka Committed by Manjunathappa Prakash
Browse files

qcacmn: Break from the desc_freelist loop on REO cmd enqueue failure

UPDATE_RX_REO_QUEUE commands are queued in the REO_CMD
ring as part of peer cleanup for each tid. The cb
registered defers pocessing the entries in the
reo_desc_freelist based on either number of pending
entries or time threshold. In the scenario when
these entries from the freelist are processed as part
of next disconnection and if the REO_CMD enqueue fails,
the while loop over reo_desc_freelist does not exit
and will end up in a perpetual loop.

Fix is to break from the desc_freelist loop on REO
cmd enqueue failure.

Change-Id: I18ee31ec6a6150cd6952903cc154634b7de4ce60
CRs-Fixed: 2751223
parent 20bccb71
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment