Преглед изворни кода

qcacld-3.0: Fix policy_mgr_change_sap_channel_with_csa() stub

When FEATURE_WLAN_MCC_TO_SCC_SWITCH is not enabled, a compilation
error is observed due to the fact that the stub implementation of
policy_mgr_change_sap_channel_with_csa() does not return QDF_STATUS,
so add an appropriate return statement.

Change-Id: I568289cc825adffa3fbcbab2419e093dc5c44cfa
CRs-Fixed: 3498278
Jeff Johnson пре 1 година
родитељ
комит
ee81cbc693
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      components/cmn_services/policy_mgr/inc/wlan_policy_mgr_api.h

+ 1 - 1
components/cmn_services/policy_mgr/inc/wlan_policy_mgr_api.h

@@ -859,7 +859,7 @@ policy_mgr_change_sap_channel_with_csa(struct wlan_objmgr_psoc *psoc,
 				       uint8_t vdev_id, uint32_t ch_freq,
 				       uint32_t ch_width, bool forced)
 {
-
+	return QDF_STATUS_SUCCESS;
 }
 #endif