From 9cb757b963db8551909bf791c5d93ebc9a93b22b Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Mon, 11 Mar 2019 15:29:02 -0700 Subject: [PATCH] qcacld-3.0: Rename HDD identifier channelEnabledState The Linux Coding Style frowns upon mixed-case names so rename HDD identifier channelEnabledState to be compliant. Change-Id: I26a676e216b2a8c5964f3e903cbda884769db284 CRs-Fixed: 2418191 --- core/hdd/src/wlan_hdd_cfg80211.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index 4adddb0681ee..43fcb8507f51 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -12947,7 +12947,7 @@ int wlan_hdd_cfg80211_update_band(struct hdd_context *hdd_ctx, enum band_info new_band) { int i, j; - enum channel_state channelEnabledState; + enum channel_state channel_state; hdd_enter(); @@ -12959,7 +12959,7 @@ int wlan_hdd_cfg80211_update_band(struct hdd_context *hdd_ctx, for (j = 0; j < wiphy->bands[i]->n_channels; j++) { struct ieee80211_supported_band *band = wiphy->bands[i]; - channelEnabledState = wlan_reg_get_channel_state( + channel_state = wlan_reg_get_channel_state( hdd_ctx->pdev, band->channels[j].hw_value); @@ -12971,7 +12971,7 @@ int wlan_hdd_cfg80211_update_band(struct hdd_context *hdd_ctx, if (WLAN_HDD_IS_SOCIAL_CHANNEL (band->channels[j].center_freq) && CHANNEL_STATE_ENABLE == - channelEnabledState) + channel_state) band->channels[j].flags &= ~IEEE80211_CHAN_DISABLED; else @@ -12987,7 +12987,7 @@ int wlan_hdd_cfg80211_update_band(struct hdd_context *hdd_ctx, continue; } - if (CHANNEL_STATE_DISABLE != channelEnabledState) + if (CHANNEL_STATE_DISABLE != channel_state) band->channels[j].flags &= ~IEEE80211_CHAN_DISABLED; }