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
committad av nshrivas
förälder b4ad9859ea
incheckning a8fef4e3a4
4 ändrade filer med 5 tillägg och 5 borttagningar

Visa fil

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

Visa fil

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

Visa fil

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

Visa fil

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