From 091cbb7e6c31867e4119af1883bbdfdf0f42a8dc Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Tue, 26 Feb 2019 12:49:38 -0800 Subject: [PATCH] qcacld-3.0: Rename HDD variable pChannelList The Linux Coding Style frowns upon mixed-case names and so-called Hungarian notation, so rename HDD local variable pChannelList to be compliant. Change-Id: I865feb3294644a6c6d8342fef1baeda5d080da10 CRs-Fixed: 2405762 --- core/hdd/src/wlan_hdd_ioctl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/hdd/src/wlan_hdd_ioctl.c b/core/hdd/src/wlan_hdd_ioctl.c index ae98bffdc2..c5db61fa80 100644 --- a/core/hdd/src/wlan_hdd_ioctl.c +++ b/core/hdd/src/wlan_hdd_ioctl.c @@ -1187,7 +1187,7 @@ hdd_parse_sendactionframe(struct hdd_adapter *adapter, const char *command, /** * hdd_parse_channellist() - HDD Parse channel list * @command: Pointer to input channel list - * @pChannelList: Pointer to local output array to record + * @channel_list: Pointer to local output array to record * channel list * @pNumChannels: Pointer to number of roam scan channels * @@ -1204,7 +1204,7 @@ hdd_parse_sendactionframe(struct hdd_adapter *adapter, const char *command, * Return: 0 for success non-zero for failure */ static int -hdd_parse_channellist(const uint8_t *command, uint8_t *pChannelList, +hdd_parse_channellist(const uint8_t *command, uint8_t *channel_list, uint8_t *pNumChannels) { const uint8_t *inPtr = command; @@ -1285,10 +1285,10 @@ hdd_parse_channellist(const uint8_t *command, uint8_t *pChannelList, (tempInt > WNI_CFG_CURRENT_CHANNEL_STAMAX)) { return -EINVAL; } - pChannelList[j] = tempInt; + channel_list[j] = tempInt; hdd_debug("Channel %d added to preferred channel list", - pChannelList[j]); + channel_list[j]); } return 0;