ソースを参照

qcacld-3.0: Change name of routine is_roaming_offload_enabled

Modify the routine name of is_roaming_offload_enabled to
roaming_offload_enabled

CRs-Fixed: 978905
Change-Id: I1bfa1ebe1f7dd9dc88c68a0c660fa1886cf0e0fe
Varun Reddy Yeturu 9 年 前
コミット
d351a6c58e

+ 2 - 2
core/hdd/inc/wlan_hdd_main.h

@@ -1647,12 +1647,12 @@ static inline void hdd_set_tso_flags(hdd_context_t *hdd_ctx,
 #endif /* FEATURE_TSO */
 
 #ifdef WLAN_FEATURE_ROAM_OFFLOAD
-static inline bool is_roaming_offload_enabled(hdd_context_t *hdd_ctx)
+static inline bool roaming_offload_enabled(hdd_context_t *hdd_ctx)
 {
 	return hdd_ctx->config->isRoamOffloadEnabled;
 }
 #else
-static inline bool is_roaming_offload_enabled(hdd_context_t *hdd_ctx)
+static inline bool roaming_offload_enabled(hdd_context_t *hdd_ctx)
 {
 	return false;
 }

+ 2 - 2
core/hdd/src/wlan_hdd_cfg80211.c

@@ -2184,7 +2184,7 @@ __wlan_hdd_cfg80211_get_features(struct wiphy *wiphy,
 		return -EPERM;
 	}
 
-	if (is_roaming_offload_enabled(hdd_ctx_ptr)) {
+	if (roaming_offload_enabled(hdd_ctx_ptr)) {
 		hddLog(LOG1, FL("Key Mgmt Offload is supported"));
 		wlan_hdd_cfg80211_set_feature(feature_flags,
 				QCA_WLAN_VENDOR_FEATURE_KEY_MGMT_OFFLOAD);
@@ -3128,7 +3128,7 @@ int wlan_hdd_send_roam_auth_event(hdd_context_t *hdd_ctx_ptr, uint8_t *bssid,
 		return -EINVAL;
 	}
 
-	if (!is_roaming_offload_enabled(hdd_ctx_ptr) ||
+	if (!roaming_offload_enabled(hdd_ctx_ptr) ||
 			!roam_info_ptr->roamSynchInProgress)
 		return 0;
 

+ 1 - 1
core/hdd/src/wlan_hdd_ioctl.c

@@ -4717,7 +4717,7 @@ static int drv_cmd_fast_reassoc(hdd_adapter_t *adapter,
 		hddLog(LOGE, FL("Invalid Channel [%d]"), channel);
 		return -EINVAL;
 	}
-	if (is_roaming_offload_enabled(hdd_ctx)) {
+	if (roaming_offload_enabled(hdd_ctx)) {
 		hdd_wma_send_fastreassoc_cmd((int)adapter->sessionId,
 					targetApBssid, (int)channel);
 		goto exit;