diff options
author | Chaehyun Lim <chaehyun.lim@gmail.com> | 2015-10-05 19:35:00 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-08 10:58:33 +0100 |
commit | 9e5e8b44bc67d2d06f660b6f3e8270f862078011 (patch) | |
tree | 1477a553fceb43fab97be28068fa5ff541def5ed /drivers/staging/wilc1000 | |
parent | 517af2f582a93f2f48042b550daab6dbdf395690 (diff) |
staging: wilc1000: rename s32Error in host_int_remove_wep_key
This patch replaces s32Error with result in 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')
-rw-r--r-- | drivers/staging/wilc1000/host_interface.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 7867078acc52..7acd744efed6 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -4190,15 +4190,15 @@ s32 host_int_remove_key(tstrWILC_WFIDrv *hWFIDrv, const u8 *pu8StaAddress) */ int host_int_remove_wep_key(tstrWILC_WFIDrv *wfi_drv, u8 index) { - int s32Error = 0; + int result = 0; tstrWILC_WFIDrv *pstrWFIDrv = (tstrWILC_WFIDrv *)wfi_drv; struct host_if_msg msg; if (pstrWFIDrv == NULL) { - s32Error = -EFAULT; + result = -EFAULT; PRINT_ER("Failed to send setup multicast config packet\n"); - return s32Error; + return result; } /* prepare the Remove Wep Key Message */ @@ -4216,12 +4216,12 @@ int host_int_remove_wep_key(tstrWILC_WFIDrv *wfi_drv, u8 index) uniHostIFkeyAttr.strHostIFwepAttr.u8Wepidx = index; /* send the message */ - s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); - if (s32Error) + result = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); + if (result) PRINT_ER("Error in sending message queue : Request to remove WEP key\n"); down(&(pstrWFIDrv->hSemTestKeyBlock)); - return s32Error; + return result; } /** |