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>
* @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;
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));
* @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,