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
This commit is contained in:
Varun Reddy Yeturu
2016-03-16 14:01:00 -07:00
committed by Gerrit - the friendly Code Review server
parent bbbbe237f9
commit d351a6c58e
3 changed files with 5 additions and 5 deletions

View File

@@ -1647,12 +1647,12 @@ static inline void hdd_set_tso_flags(hdd_context_t *hdd_ctx,
#endif /* FEATURE_TSO */ #endif /* FEATURE_TSO */
#ifdef WLAN_FEATURE_ROAM_OFFLOAD #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; return hdd_ctx->config->isRoamOffloadEnabled;
} }
#else #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; return false;
} }

View File

@@ -2184,7 +2184,7 @@ __wlan_hdd_cfg80211_get_features(struct wiphy *wiphy,
return -EPERM; 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")); hddLog(LOG1, FL("Key Mgmt Offload is supported"));
wlan_hdd_cfg80211_set_feature(feature_flags, wlan_hdd_cfg80211_set_feature(feature_flags,
QCA_WLAN_VENDOR_FEATURE_KEY_MGMT_OFFLOAD); 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; return -EINVAL;
} }
if (!is_roaming_offload_enabled(hdd_ctx_ptr) || if (!roaming_offload_enabled(hdd_ctx_ptr) ||
!roam_info_ptr->roamSynchInProgress) !roam_info_ptr->roamSynchInProgress)
return 0; return 0;

View File

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