]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: rename pu8IEs in wilc_scan
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 5 Jan 2016 14:06:50 +0000 (23:06 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:15:24 +0000 (15:15 -0800)
This patch renames pu8IEs to ies to avoid camelcase.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/host_interface.h

index 99455909c489cb7552ce4595bf6c6609cde7ae14..6cd831069841a164a58c12310097a31b7f130be5 100644 (file)
@@ -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 ch_list_len, const u8 *pu8IEs,
+             u8 *ch_freq_list, u8 ch_list_len, const u8 *ies,
              size_t IEsLen, wilc_scan_result ScanResult, void *pvUserArg,
              struct hidden_network *pstrHiddenNetwork)
 {
@@ -3709,7 +3709,7 @@ int wilc_scan(struct wilc_vif *vif, u8 scan_source, u8 scan_type,
 
        msg.body.scan_info.ies_len = IEsLen;
        msg.body.scan_info.ies = kmalloc(IEsLen, GFP_KERNEL);
-       memcpy(msg.body.scan_info.ies, pu8IEs, IEsLen);
+       memcpy(msg.body.scan_info.ies, ies, IEsLen);
 
        result = wilc_mq_send(&hif_msg_q, &msg, sizeof(struct host_if_msg));
        if (result) {
index c56c3f658a7bac65e2513e4ed8493dd15a76c594..5356492848c7c4bdf5b02ffbb661a1231f85108b 100644 (file)
@@ -336,7 +336,7 @@ int wilc_disconnect(struct wilc_vif *vif, u16 reason_code);
 int wilc_set_mac_chnl_num(struct wilc_vif *vif, u8 channel);
 int wilc_get_rssi(struct wilc_vif *vif, s8 *rssi_level);
 int wilc_scan(struct wilc_vif *vif, u8 scan_source, u8 scan_type,
-             u8 *ch_freq_list, u8 ch_list_len, const u8 *pu8IEs,
+             u8 *ch_freq_list, u8 ch_list_len, const u8 *ies,
              size_t IEsLen, wilc_scan_result ScanResult, void *pvUserArg,
              struct hidden_network *pstrHiddenNetwork);
 s32 wilc_hif_set_cfg(struct wilc_vif *vif,