staging: wilc1000: rename pJoinParams in wilc_set_join_req
authorChaehyun Lim <chaehyun.lim@gmail.com>
Thu, 24 Dec 2015 07:52:31 +0000 (16:52 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:08:06 +0000 (15:08 -0800)
This patch renames pJoinParams to join_params 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 66abfa74153bb5c562d9495492d4c74ec3c9e090..79f3d9f2e7cd058bd6dde41238f8a705651a8e22 100644 (file)
@@ -3369,7 +3369,7 @@ int wilc_set_join_req(struct wilc_vif *vif, u8 *bssid, const u8 *ssid,
                      size_t ssid_len, const u8 *ies, size_t ies_len,
                      wilc_connect_result connect_result, void *user_arg,
                      u8 security, enum AUTHTYPE auth_type,
-                     u8 channel, void *pJoinParams)
+                     u8 channel, void *join_params)
 {
        int result = 0;
        struct host_if_msg msg;
@@ -3380,7 +3380,7 @@ int wilc_set_join_req(struct wilc_vif *vif, u8 *bssid, const u8 *ssid,
                return -EFAULT;
        }
 
-       if (!pJoinParams) {
+       if (!join_params) {
                PRINT_ER("Unable to Join - JoinParams is NULL\n");
                return -EFAULT;
        }
@@ -3394,7 +3394,7 @@ int wilc_set_join_req(struct wilc_vif *vif, u8 *bssid, const u8 *ssid,
        msg.body.con_info.ch = channel;
        msg.body.con_info.result = connect_result;
        msg.body.con_info.arg = user_arg;
-       msg.body.con_info.params = pJoinParams;
+       msg.body.con_info.params = join_params;
        msg.vif = vif;
 
        if (bssid) {
index b12c04fdf69c38da5697bef332481e937cbfd3bb..698d1b6bc33052c62190f341a12a7b1b10da0100 100644 (file)
@@ -330,7 +330,7 @@ int wilc_set_join_req(struct wilc_vif *vif, u8 *bssid, const u8 *ssid,
                      size_t ssid_len, const u8 *ies, size_t ies_len,
                      wilc_connect_result connect_result, void *user_arg,
                      u8 security, enum AUTHTYPE auth_type,
-                     u8 channel, void *pJoinParams);
+                     u8 channel, void *join_params);
 int wilc_flush_join_req(struct wilc_vif *vif);
 s32 wilc_disconnect(struct wilc_vif *vif, u16 u16ReasonCode);
 int wilc_set_mac_chnl_num(struct wilc_vif *vif, u8 channel);