summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/host_interface.c
diff options
context:
space:
mode:
authorChaehyun Lim <chaehyun.lim@gmail.com>2016-01-05 23:06:49 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-03 15:15:16 -0800
commit86163ec9902c3fffff5b047bcbb8e5d0de69f624 (patch)
treef4f16898a881b0690a1fd67ffe351c6079780774 /drivers/staging/wilc1000/host_interface.c
parent5eb037e6d30aa59adbf72367ec76045a73d7a4e4 (diff)
downloadop-kernel-dev-86163ec9902c3fffff5b047bcbb8e5d0de69f624.zip
op-kernel-dev-86163ec9902c3fffff5b047bcbb8e5d0de69f624.tar.gz
staging: wilc1000: rename u8ChnlListLen in wilc_scan
This patch renames u8ChnlListLen to ch_list_len to avoid camelcase. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/host_interface.c')
-rw-r--r--drivers/staging/wilc1000/host_interface.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index fcbfee6..9945590 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -3673,7 +3673,7 @@ int wilc_get_statistics(struct wilc_vif *vif, struct rf_info *stats)
}
int wilc_scan(struct wilc_vif *vif, u8 scan_source, u8 scan_type,
- u8 *ch_freq_list, u8 u8ChnlListLen, const u8 *pu8IEs,
+ u8 *ch_freq_list, u8 ch_list_len, const u8 *pu8IEs,
size_t IEsLen, wilc_scan_result ScanResult, void *pvUserArg,
struct hidden_network *pstrHiddenNetwork)
{
@@ -3703,9 +3703,9 @@ int wilc_scan(struct wilc_vif *vif, u8 scan_source, u8 scan_type,
msg.body.scan_info.result = ScanResult;
msg.body.scan_info.arg = pvUserArg;
- msg.body.scan_info.ch_list_len = u8ChnlListLen;
- msg.body.scan_info.ch_freq_list = kmalloc(u8ChnlListLen, GFP_KERNEL);
- memcpy(msg.body.scan_info.ch_freq_list, ch_freq_list, u8ChnlListLen);
+ msg.body.scan_info.ch_list_len = ch_list_len;
+ msg.body.scan_info.ch_freq_list = kmalloc(ch_list_len, GFP_KERNEL);
+ memcpy(msg.body.scan_info.ch_freq_list, ch_freq_list, ch_list_len);
msg.body.scan_info.ies_len = IEsLen;
msg.body.scan_info.ies = kmalloc(IEsLen, GFP_KERNEL);
OpenPOWER on IntegriCloud