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
This commit is contained in:
Jeff Johnson 2019-03-11 15:29:02 -07:00 • committed by nshrivas
commit 9cb757b963

View file

@ -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;
}