staging: wilc1000: rename pu8RxMic in host_int_add_rx_gtk
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 8 Nov 2015 07:49:12 +0000 (16:49 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:14:03 +0000 (14:14 -0800)
This patch changes pu8RxMic to rx_mic 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 b50e78dddb89629047a1bc64ead33f262435cc45..df364dc69682d1ca055576f9826e2cec00609be0 100644 (file)
@@ -3276,7 +3276,7 @@ int host_int_add_ptk(struct host_if_drv *hif_drv, const u8 *ptk,
 int host_int_add_rx_gtk(struct host_if_drv *hif_drv, const u8 *rx_gtk,
                        u8 gtk_key_len, u8 index,
                        u32 key_rsc_len, const u8 *key_rsc,
-                       const u8 *pu8RxMic, const u8 *pu8TxMic,
+                       const u8 *rx_mic, const u8 *pu8TxMic,
                        u8 mode, u8 u8Ciphermode)
 {
        int result = 0;
@@ -3289,7 +3289,7 @@ int host_int_add_rx_gtk(struct host_if_drv *hif_drv, const u8 *rx_gtk,
        }
        memset(&msg, 0, sizeof(struct host_if_msg));
 
-       if (pu8RxMic)
+       if (rx_mic)
                u8KeyLen += RX_MIC_KEY_LEN;
 
        if (pu8TxMic)
@@ -3314,8 +3314,8 @@ int host_int_add_rx_gtk(struct host_if_drv *hif_drv, const u8 *rx_gtk,
        msg.body.key_info.attr.wpa.key = kmalloc(u8KeyLen, GFP_KERNEL);
        memcpy(msg.body.key_info.attr.wpa.key, rx_gtk, gtk_key_len);
 
-       if (pu8RxMic)
-               memcpy(msg.body.key_info.attr.wpa.key + 16, pu8RxMic,
+       if (rx_mic)
+               memcpy(msg.body.key_info.attr.wpa.key + 16, rx_mic,
                       RX_MIC_KEY_LEN);
 
        if (pu8TxMic)
index 66bb7d7f3eb2f74fee253e1704036b50410fc182..42c8749117c2dec7d305424f2744b27993ec26c8 100644 (file)
@@ -320,7 +320,7 @@ s32 host_int_get_inactive_time(struct host_if_drv *hWFIDrv, const u8 *mac,
 int host_int_add_rx_gtk(struct host_if_drv *hif_drv, const u8 *rx_gtk,
                        u8 gtk_key_len, u8 index,
                        u32 key_rsc_len, const u8 *key_rsc,
-                       const u8 *pu8RxMic, const u8 *pu8TxMic,
+                       const u8 *rx_mic, const u8 *pu8TxMic,
                        u8 mode, u8 u8Ciphermode);
 s32 host_int_add_tx_gtk(struct host_if_drv *hWFIDrv, u8 u8KeyLen,
                        u8 *pu8TxGtk, u8 u8KeyIdx);