Revert "qcacmn: Drop ch avoid event if list is empty"

This reverts change-id I176b9c09106cc0d7f5cfbc474912e4a48d633ff2.
The 0 count chan avoid event is used to clear all previous reported
chan avoid freq range, so it can't be skipped.

Change-Id: Ie01d88c353a7f71bbee70ae67f54147ea147f6d4
CRs-Fixed: 2970061
This commit is contained in:
Will Huang
2021-06-23 10:34:01 +08:00
committed by Madan Koyyalamudi
szülő f5e4766465
commit b128bc2e3e
2 fájl változott, egészen pontosan 0 új sor hozzáadva és 7 régi sor törölve

Fájl megtekintése

@@ -75,11 +75,6 @@ static int tgt_reg_ch_avoid_event_handler(ol_scn_t handle, uint8_t *event_buf,
return -EFAULT;
}
if (!ch_avoid_event.ch_avoid_range_cnt) {
target_if_debug_rl("ch avoid range count is 0, dropping the event");
return 0;
}
status = reg_rx_ops->reg_ch_avoid_event_handler(psoc, &ch_avoid_event);
if (status != QDF_STATUS_SUCCESS) {
target_if_err("Failed to process CH avoid event");