]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
staging: wilc1000: rename pstrStatistics in wilc_get_statistics
authorChaehyun Lim <chaehyun.lim@gmail.com>
Thu, 24 Dec 2015 07:52:39 +0000 (16:52 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:08:06 +0000 (15:08 -0800)
This patch renames pstrStatistics to stats 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 732ea9660d137c7094c0dff3b14aedacb90c041f..5113d3d5c5dcf6d09c3e25e3e3fd876ffc521ab2 100644 (file)
@@ -3656,14 +3656,14 @@ int wilc_get_rssi(struct wilc_vif *vif, s8 *rssi_level)
        return result;
 }
 
-int wilc_get_statistics(struct wilc_vif *vif, struct rf_info *pstrStatistics)
+int wilc_get_statistics(struct wilc_vif *vif, struct rf_info *stats)
 {
        int result = 0;
        struct host_if_msg msg;
 
        memset(&msg, 0, sizeof(struct host_if_msg));
        msg.id = HOST_IF_MSG_GET_STATISTICS;
-       msg.body.data = (char *)pstrStatistics;
+       msg.body.data = (char *)stats;
        msg.vif = vif;
 
        result = wilc_mq_send(&hif_msg_q, &msg, sizeof(struct host_if_msg));
index c64dc13deae7b5e2c43fe680014c1a925de3fe5c..b8b235d724127f53efcb852d0cbcf29987dcd73c 100644 (file)
@@ -365,7 +365,7 @@ s32 wilc_listen_state_expired(struct wilc_vif *vif, u32 u32SessionID);
 s32 wilc_frame_register(struct wilc_vif *vif, u16 u16FrameType, bool bReg);
 int wilc_set_wfi_drv_handler(struct wilc_vif *vif, int index);
 int wilc_set_operation_mode(struct wilc_vif *vif, u32 mode);
-int wilc_get_statistics(struct wilc_vif *vif, struct rf_info *pstrStatistics);
+int wilc_get_statistics(struct wilc_vif *vif, struct rf_info *stats);
 void wilc_resolve_disconnect_aberration(struct wilc_vif *vif);
 int wilc_get_vif_idx(struct wilc_vif *vif);