From 603ef85889f0e480fa5859bca0d54f3bab829d6e Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Mon, 11 Mar 2019 15:23:30 -0700 Subject: [PATCH] qcacld-3.0: Rename HDD identifier fValidChannel The Linux Coding Style frowns upon mixed-case names and so-called Hungarian notation, so rename HDD identifier fValidChannel to be compliant. Change-Id: Ic591e0e194b3444499518f7fd3c273adb6189423 CRs-Fixed: 2418190 --- core/hdd/src/wlan_hdd_cfg80211.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index 218d021cd3e0..4adddb0681ee 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -13876,7 +13876,8 @@ QDF_STATUS wlan_hdd_validate_operation_channel(struct hdd_adapter *adapter, uint32_t num_ch = 0; u8 valid_ch[CFG_VALID_CHANNEL_LIST_LEN]; u32 indx = 0; - uint8_t fValidChannel = false, count = 0; + bool is_valid_channel = false; + uint8_t count; QDF_STATUS status; bool value; struct hdd_context *hdd_ctx; @@ -13890,11 +13891,11 @@ QDF_STATUS wlan_hdd_validate_operation_channel(struct hdd_adapter *adapter, /* Validate the channel */ for (count = CHAN_ENUM_1; count <= CHAN_ENUM_173; count++) { if (channel == WLAN_REG_CH_NUM(count)) { - fValidChannel = true; + is_valid_channel = true; break; } } - if (fValidChannel != true) { + if (!is_valid_channel) { hdd_err("Invalid Channel: %d", channel); return QDF_STATUS_E_FAILURE; }