qcacld-3.0: Rename HDD identifier fEnableSNRMonitoring

The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier fEnableSNRMonitoring to
be compliant.

Change-Id: Ic613f39d0d267ba7e8cb72cd0cc3bf261a029278
CRs-Fixed: 2418189
This commit is contained in:
Jeff Johnson
2019-03-11 14:38:49 -07:00
committed by nshrivas
parent b4ad9859ea
commit a8fef4e3a4
4 changed files with 5 additions and 5 deletions

View File

@@ -116,7 +116,7 @@ struct hdd_config {
#ifdef ENABLE_MTRACE_LOG
bool enable_mtrace;
#endif
bool fEnableSNRMonitoring;
bool enable_snr_monitoring;
bool advertise_concurrent_operation;
#ifdef DHCP_SERVER_OFFLOAD
struct dhcp_server dhcp_server_ip;

View File

@@ -21481,7 +21481,7 @@ void wlan_hdd_init_chan_info(struct hdd_context *hdd_ctx)
mac_handle_t mac_handle;
hdd_ctx->chan_info = NULL;
if (!hdd_ctx->config->fEnableSNRMonitoring) {
if (!hdd_ctx->config->enable_snr_monitoring) {
hdd_debug("SNR monitoring is disabled");
return;
}

View File

@@ -4888,7 +4888,7 @@ static int __wlan_hdd_cfg80211_dump_survey(struct wiphy *wiphy,
sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(adapter);
if (hdd_ctx->config->fEnableSNRMonitoring == 0)
if (!hdd_ctx->config->enable_snr_monitoring)
return -ENONET;
if (sta_ctx->hdd_reassoc_scenario) {

View File

@@ -7375,11 +7375,11 @@ static int __iw_get_char_setnone(struct net_device *dev,
return status;
sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(adapter);
if (0 == hdd_ctx->config->fEnableSNRMonitoring ||
if (!hdd_ctx->config->enable_snr_monitoring ||
eConnectionState_Associated !=
sta_ctx->conn_info.conn_state) {
hdd_err("getSNR failed: Enable SNR Monitoring-%d, ConnectionState-%d",
hdd_ctx->config->fEnableSNRMonitoring,
hdd_ctx->config->enable_snr_monitoring,
sta_ctx->conn_info.conn_state);
return -ENONET;
}