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
Loading
Please register or sign in to comment