浏览代码

qcacmn: Flush the blacklist BSSIDs in FW

Currently, the expectation from the BLM is to flush
all the BSSIDs which are present in the blacklist
when the user does an explicit on-off, which is
meeting the expectation, but the FW does not flush
this info which leads to async between the two.

Fix is to send zero blacklist BSSID to FW during
Wifi-off so that it also flushes the list.

Change-Id: I0b7c10a31c1e47dc40d0390697efe41232c61cb1
CRs-Fixed: 2654183
gaurank kathpalia 5 年之前
父节点
当前提交
f1f9621603
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0 6
      wmi/src/wmi_unified_sta_tlv.c

+ 0 - 6
wmi/src/wmi_unified_sta_tlv.c

@@ -1133,12 +1133,6 @@ send_reject_ap_list_cmd_tlv(wmi_unified_t wmi_handle,
 	struct reject_ap_config_params *reject_list = reject_params->bssid_list;
 	uint8_t num_of_reject_bssid = reject_params->num_of_reject_bssid;
 
-	if (!num_of_reject_bssid) {
-		WMI_LOGD("%s : invalid number of channels %d", __func__,
-			 num_of_reject_bssid);
-		return QDF_STATUS_E_EMPTY;
-	}
-
 	list_tlv_len = sizeof(*chan_list) * num_of_reject_bssid;
 
 	len = sizeof(*chan_list_fp) + list_tlv_len + WMI_TLV_HDR_SIZE;