staging: wilc1000: rename u8keyIdx in host_int_remove_wep_key
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 5 Oct 2015 10:34:59 +0000 (19:34 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Oct 2015 09:58:33 +0000 (10:58 +0100)
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>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/host_interface.h

index 7a93f7541581e06d0f0259a883bc83f39a97dca2..7867078acc528022656d36bdb039c1098061b826 100644 (file)
@@ -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));
index e3d24847034f6ef0f17483639cba8df578f24d82..9bb55abd79ee5020ed3c27b1412e7f4d5665242b 100644 (file)
@@ -406,7 +406,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 u8Index);
+int host_int_remove_wep_key(tstrWILC_WFIDrv *wfi_drv, u8 index);
 /**
  *  @brief              sets WEP deafault key
  *  @details    Sets the index of the WEP encryption key in use,