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
This commit is contained in:
Jeff Johnson
2019-02-26 12:49:38 -08:00
committed by nshrivas
parent d727cdcf8e
commit 091cbb7e6c

View File

@@ -1187,7 +1187,7 @@ hdd_parse_sendactionframe(struct hdd_adapter *adapter, const char *command,
/** /**
* hdd_parse_channellist() - HDD Parse channel list * hdd_parse_channellist() - HDD Parse channel list
* @command: Pointer to input 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 * channel list
* @pNumChannels: Pointer to number of roam scan channels * @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 * Return: 0 for success non-zero for failure
*/ */
static int 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) uint8_t *pNumChannels)
{ {
const uint8_t *inPtr = command; 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)) { (tempInt > WNI_CFG_CURRENT_CHANNEL_STAMAX)) {
return -EINVAL; return -EINVAL;
} }
pChannelList[j] = tempInt; channel_list[j] = tempInt;
hdd_debug("Channel %d added to preferred channel list", hdd_debug("Channel %d added to preferred channel list",
pChannelList[j]); channel_list[j]);
} }
return 0; return 0;