diff options
author | Chaehyun Lim <chaehyun.lim@gmail.com> | 2015-10-27 19:19:24 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-28 19:50:45 -0400 |
commit | a76dc953d569193d6668852a8b729cbfa8ce83a6 (patch) | |
tree | 45d0d8e5ef584c41bdbd813fd37ad25e2db98871 | |
parent | a5389b0749751378dae9262eb4bc6fb51d025acb (diff) |
staging: wilc1000: rename u8Keyidx in host_int_add_wep_key_bss_ap
This patch changes u8Keyidx to index that is fourth argument of this
function to avoid camelcase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/wilc1000/host_interface.c | 4 | ||||
-rw-r--r-- | drivers/staging/wilc1000/host_interface.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 60b8d9827458..833b61bdb216 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c | |||
@@ -3142,7 +3142,7 @@ int host_int_add_wep_key_bss_sta(struct host_if_drv *hif_drv, | |||
3142 | int host_int_add_wep_key_bss_ap(struct host_if_drv *hif_drv, | 3142 | int host_int_add_wep_key_bss_ap(struct host_if_drv *hif_drv, |
3143 | const u8 *key, | 3143 | const u8 *key, |
3144 | u8 len, | 3144 | u8 len, |
3145 | u8 u8Keyidx, | 3145 | u8 index, |
3146 | u8 u8mode, | 3146 | u8 u8mode, |
3147 | enum AUTHTYPE tenuAuth_type) | 3147 | enum AUTHTYPE tenuAuth_type) |
3148 | { | 3148 | { |
@@ -3168,7 +3168,7 @@ int host_int_add_wep_key_bss_ap(struct host_if_drv *hif_drv, | |||
3168 | msg.body.key_info.attr.wep.key = kmalloc(len, GFP_KERNEL); | 3168 | msg.body.key_info.attr.wep.key = kmalloc(len, GFP_KERNEL); |
3169 | memcpy(msg.body.key_info.attr.wep.key, key, len); | 3169 | memcpy(msg.body.key_info.attr.wep.key, key, len); |
3170 | msg.body.key_info.attr.wep.key_len = len; | 3170 | msg.body.key_info.attr.wep.key_len = len; |
3171 | msg.body.key_info.attr.wep.index = u8Keyidx; | 3171 | msg.body.key_info.attr.wep.index = index; |
3172 | msg.body.key_info.attr.wep.mode = u8mode; | 3172 | msg.body.key_info.attr.wep.mode = u8mode; |
3173 | msg.body.key_info.attr.wep.auth_type = tenuAuth_type; | 3173 | msg.body.key_info.attr.wep.auth_type = tenuAuth_type; |
3174 | 3174 | ||
diff --git a/drivers/staging/wilc1000/host_interface.h b/drivers/staging/wilc1000/host_interface.h index a4b93489cbf6..6a97dde47795 100644 --- a/drivers/staging/wilc1000/host_interface.h +++ b/drivers/staging/wilc1000/host_interface.h | |||
@@ -419,7 +419,7 @@ int host_int_add_wep_key_bss_sta(struct host_if_drv *hif_drv, | |||
419 | * @date 28 Feb 2013 | 419 | * @date 28 Feb 2013 |
420 | * @version 1.0 | 420 | * @version 1.0 |
421 | */ | 421 | */ |
422 | int host_int_add_wep_key_bss_ap(struct host_if_drv *hif_drv, const u8 *key, u8 len, u8 u8Keyidx, u8 u8mode, enum AUTHTYPE tenuAuth_type); | 422 | int host_int_add_wep_key_bss_ap(struct host_if_drv *hif_drv, const u8 *key, u8 len, u8 index, u8 u8mode, enum AUTHTYPE tenuAuth_type); |
423 | 423 | ||
424 | /** | 424 | /** |
425 | * @brief adds ptk Key | 425 | * @brief adds ptk Key |