staging: wilc1000: rename pu8RxMic in host_int_add_ptk
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 8 Nov 2015 07:48:58 +0000 (16:48 +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 96a0a58900022e376a8adda11da825f55ff9f1a7..9616a6136619df353a6261b02b9496de2ef90c75 100644 (file)
@@ -3209,7 +3209,7 @@ int host_int_add_wep_key_bss_ap(struct host_if_drv *hif_drv,
 
 int host_int_add_ptk(struct host_if_drv *hif_drv, const u8 *ptk,
                     u8 ptk_key_len, const u8 *mac_addr,
-                    const u8 *pu8RxMic, const u8 *pu8TxMic,
+                    const u8 *rx_mic, const u8 *pu8TxMic,
                     u8 mode, u8 u8Ciphermode, u8 u8Idx)
 {
        int result = 0;
@@ -3222,7 +3222,7 @@ int host_int_add_ptk(struct host_if_drv *hif_drv, const u8 *ptk,
                return -EFAULT;
        }
 
-       if (pu8RxMic)
+       if (rx_mic)
                u8KeyLen += RX_MIC_KEY_LEN;
 
        if (pu8TxMic)
@@ -3242,11 +3242,11 @@ int host_int_add_ptk(struct host_if_drv *hif_drv, const u8 *ptk,
        msg.body.key_info.attr.wpa.key = kmalloc(ptk_key_len, GFP_KERNEL);
        memcpy(msg.body.key_info.attr.wpa.key, ptk, ptk_key_len);
 
-       if (pu8RxMic) {
-               memcpy(msg.body.key_info.attr.wpa.key + 16, pu8RxMic, RX_MIC_KEY_LEN);
+       if (rx_mic) {
+               memcpy(msg.body.key_info.attr.wpa.key + 16, rx_mic, RX_MIC_KEY_LEN);
                if (INFO) {
                        for (i = 0; i < RX_MIC_KEY_LEN; i++)
-                               PRINT_INFO(CFG80211_DBG, "PairwiseRx[%d] = %x\n", i, pu8RxMic[i]);
+                               PRINT_INFO(CFG80211_DBG, "PairwiseRx[%d] = %x\n", i, rx_mic[i]);
                }
        }
        if (pu8TxMic) {
index ae0e260d3ca6fdbce486253be13a5a6d55bd80ad..2ee93045aaf5829143fd1823699924f4637df23e 100644 (file)
@@ -313,7 +313,7 @@ int host_int_add_wep_key_bss_ap(struct host_if_drv *hif_drv,
                                enum AUTHTYPE auth_type);
 int host_int_add_ptk(struct host_if_drv *hif_drv, const u8 *ptk,
                     u8 ptk_key_len, const u8 *mac_addr,
-                    const u8 *pu8RxMic, const u8 *pu8TxMic,
+                    const u8 *rx_mic, const u8 *pu8TxMic,
                     u8 mode, u8 u8Ciphermode, u8 u8Idx);
 s32 host_int_get_inactive_time(struct host_if_drv *hWFIDrv, const u8 *mac,
                               u32 *pu32InactiveTime);
This page took 0.031449 seconds and 5 git commands to generate.