diff options
author | Chaehyun Lim | 2015-10-05 12:34:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-10-08 11:58:33 +0200 |
commit | 517af2f582a93f2f48042b550daab6dbdf395690 (patch) | |
tree | e765f6f7f65704cb46921fcdff1d2a4fcd56eba6 /drivers/staging/wilc1000/host_interface.c | |
parent | staging: wilc1000: rename hWFIDrv in host_int_remove_wep_key (diff) | |
download | kernel-qcow2-linux-517af2f582a93f2f48042b550daab6dbdf395690.tar.gz kernel-qcow2-linux-517af2f582a93f2f48042b550daab6dbdf395690.tar.xz kernel-qcow2-linux-517af2f582a93f2f48042b550daab6dbdf395690.zip |
staging: wilc1000: rename u8keyIdx in host_int_remove_wep_key
This patch replaces u8keyIdx with index that is secondard argument of
host_int_remove_wep_key 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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 7a93f7541581..7867078acc52 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -4188,7 +4188,7 @@ s32 host_int_remove_key(tstrWILC_WFIDrv *hWFIDrv, const u8 *pu8StaAddress) * @date 8 March 2012 * @version 1.0 */ -int host_int_remove_wep_key(tstrWILC_WFIDrv *wfi_drv, u8 u8keyIdx) +int host_int_remove_wep_key(tstrWILC_WFIDrv *wfi_drv, u8 index) { int s32Error = 0; tstrWILC_WFIDrv *pstrWFIDrv = (tstrWILC_WFIDrv *)wfi_drv; @@ -4213,7 +4213,7 @@ int host_int_remove_wep_key(tstrWILC_WFIDrv *wfi_drv, u8 u8keyIdx) msg.body.key_info. - uniHostIFkeyAttr.strHostIFwepAttr.u8Wepidx = u8keyIdx; + uniHostIFkeyAttr.strHostIFwepAttr.u8Wepidx = index; /* send the message */ s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); |