Parcourir la source

qcacld-3.0: Move PER_ROAM_CONFIG_CMD out of EXTSCAN macro

WMA_SET_PER_ROAM_CONFIG_CMD is dependent on
FEATURE_WLAN_EXTSCAN macro. By default
FEATURE_WLAN_EXTSCAN is disabled and thus
WMA_SET_PER_ROAM_CONFIG_CMD is not handled

To avoid conditional Handling of WMA_SET_PER_ROAM_CONFIG_CMD,
Move WMA_SET_PER_ROAM_CONFIG_CMD out of flag
FEATURE_WLAN_EXTSCAN.

Change-Id: I4574efa2ccc968ead71a9c6d54845f7bd3057e56
CRs-Fixed: 2549779
sheenam monga il y a 5 ans
Parent
commit
11cf83604e
1 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. 5 5
      core/wma/src/wma_main.c

+ 5 - 5
core/wma/src/wma_main.c

@@ -8800,11 +8800,6 @@ static QDF_STATUS wma_mc_process_msg(struct scheduler_msg *msg)
 		wma_set_epno_network_list(wma_handle, msg->bodyptr);
 		qdf_mem_free(msg->bodyptr);
 		break;
-	case WMA_SET_PER_ROAM_CONFIG_CMD:
-		wma_update_per_roam_config(wma_handle,
-			(struct wmi_per_roam_config_req *)msg->bodyptr);
-		qdf_mem_free(msg->bodyptr);
-		break;
 	case WMA_SET_PASSPOINT_LIST_REQ:
 		/* Issue reset passpoint network list first and clear
 		 * the entries
@@ -8819,6 +8814,11 @@ static QDF_STATUS wma_mc_process_msg(struct scheduler_msg *msg)
 		qdf_mem_free(msg->bodyptr);
 		break;
 #endif /* FEATURE_WLAN_EXTSCAN */
+	case WMA_SET_PER_ROAM_CONFIG_CMD:
+		wma_update_per_roam_config(wma_handle,
+			(struct wmi_per_roam_config_req *)msg->bodyptr);
+		qdf_mem_free(msg->bodyptr);
+		break;
 	case WMA_SET_SCAN_MAC_OUI_REQ:
 		wma_scan_probe_setoui(wma_handle, msg->bodyptr);
 		qdf_mem_free(msg->bodyptr);