qcacld-3.0: Rename hdd_context enableSapSuspend field

Per the Linux coding style "mixed-case names are frowned upon" so
rename field enableSapSuspend in struct hdd_context.

Change-Id: I8f5321fa57c01a36df72dec17499969d0848e3dd
CRs-Fixed: 2140344
This commit is contained in:
Jeff Johnson 2017-11-03 18:26:28 -07:00 • committed by snandini
commit 60cbd2db9c
3 changed files with 5 additions and 5 deletions

View file

@ -13878,7 +13878,7 @@ struct hdd_config {
uint8_t SapSccChanAvoidance;
#endif /* FEATURE_WLAN_FORCE_SAP_SCC */
bool enableSapSuspend;
bool enable_sap_suspend;
#ifdef WLAN_FEATURE_EXTWOW_SUPPORT
uint8_t extWowGotoSuspend;

View file

@ -3434,7 +3434,7 @@ struct reg_table_entry g_registry_table[] = {
#endif /* FEATURE_WLAN_FORCE_SAP_SCC */
REG_VARIABLE(CFG_ENABLE_SAP_SUSPEND, WLAN_PARAM_Integer,
struct hdd_config, enableSapSuspend,
struct hdd_config, enable_sap_suspend,
VAR_FLAGS_OPTIONAL | VAR_FLAGS_RANGE_CHECK_ASSUME_DEFAULT,
CFG_ENABLE_SAP_SUSPEND_DEFAULT,
CFG_ENABLE_SAP_SUSPEND_MIN,
@ -6540,7 +6540,7 @@ void hdd_cfg_print(struct hdd_context *hdd_ctx)
hdd_ctx->config->enableSelfRecovery);
hdd_debug("Name = [gEnableSapSuspend] Value = [%u]",
hdd_ctx->config->enableSapSuspend);
hdd_ctx->config->enable_sap_suspend);
#ifdef WLAN_FEATURE_EXTWOW_SUPPORT
hdd_debug("Name = [gExtWoWgotoSuspend] Value = [%u]",

View file

@ -1763,7 +1763,7 @@ static int __wlan_hdd_cfg80211_suspend_wlan(struct wiphy *wiphy,
wlan_hdd_inc_suspend_stats(hdd_ctx,
SUSPEND_FAIL_RADAR);
return -EAGAIN;
} else if (!hdd_ctx->config->enableSapSuspend) {
} else if (!hdd_ctx->config->enable_sap_suspend) {
/* return -EOPNOTSUPP if SAP does not support
* suspend
*/
@ -1771,7 +1771,7 @@ static int __wlan_hdd_cfg80211_suspend_wlan(struct wiphy *wiphy,
return -EOPNOTSUPP;
}
} else if (QDF_P2P_GO_MODE == adapter->device_mode) {
if (!hdd_ctx->config->enableSapSuspend) {
if (!hdd_ctx->config->enable_sap_suspend) {
/* return -EOPNOTSUPP if GO does not support
* suspend
*/