Browse Source

qca-wifi: Replace the blacklist manager enum

With changes in the enum definition due to introduction of force
rejecting a candidate, replace the blacklist manager return value
to force removal

Change-Id: I3c7d77fd541ff4eb164dc2acb430eb182d5a0eb8
Santosh Anbu 4 năm trước cách đây
mục cha
commit
1c6b4c25cf
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      umac/mlme/conn_mgr/core/src/wlan_cm_blm_main.c

+ 4 - 4
umac/mlme/conn_mgr/core/src/wlan_cm_blm_main.c

@@ -72,7 +72,7 @@ wlan_blacklist_action_on_bssid(struct wlan_objmgr_pdev *pdev,
 
 	if (blm_iter_obj.match) {
 		qdf_info("Ignore entry %pM match vdev mac", entry->bssid.bytes);
-		return CM_BLM_REMOVE;
+		return CM_BLM_FORCE_REMOVE;
 	}
 
 	if (!blm_iter_obj.sta_vdev)
@@ -94,7 +94,7 @@ wlan_blacklist_action_on_bssid(struct wlan_objmgr_pdev *pdev,
 							 AP_STATE_GOOD);
 		} else {
 			qdf_info("Ignore bssid entry %pM", entry->bssid.bytes);
-			return CM_BLM_REMOVE;
+			return CM_BLM_FORCE_REMOVE;
 		}
 	}
 
@@ -106,7 +106,7 @@ wlan_blacklist_action_on_bssid(struct wlan_objmgr_pdev *pdev,
 						       &num_exc_mac);
 	if (exc_mac_status == CM_BLM_EXC_MAC_ALL) {
 		qdf_info("Ignore bssid entry %pM", entry->bssid.bytes);
-		return CM_BLM_REMOVE;
+		return CM_BLM_FORCE_REMOVE;
 	} else if (exc_mac_status == CM_BLM_EXC_MAC_NONE) {
 		return CM_BLM_NO_ACTION;
 	}
@@ -117,7 +117,7 @@ wlan_blacklist_action_on_bssid(struct wlan_objmgr_pdev *pdev,
 				exc_mac_list[idx],
 				QDF_MAC_ADDR_SIZE) == 0) {
 			qdf_info("Ignore bssid entry %pM", entry->bssid.bytes);
-			return CM_BLM_REMOVE;
+			return CM_BLM_FORCE_REMOVE;
 		}
 	}