staging: wilc1000: rename u8Ciphermode in host_int_add_rx_gtk
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 8 Nov 2015 07:49:14 +0000 (16:49 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:14:03 +0000 (14:14 -0800)
This patch changes u8Ciphermode to cipher_mode 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 7ca924a..7b647ce 100644 (file)
@@ -3277,7 +3277,7 @@ 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 *rx_mic, const u8 *tx_mic,
-                       u8 mode, u8 u8Ciphermode)
+                       u8 mode, u8 cipher_mode)
 {
        int result = 0;
        struct host_if_msg msg;
@@ -3306,7 +3306,7 @@ int host_int_add_rx_gtk(struct host_if_drv *hif_drv, const u8 *rx_gtk,
 
        if (mode == AP_MODE) {
                msg.body.key_info.action = ADDKEY_AP;
-               msg.body.key_info.attr.wpa.mode = u8Ciphermode;
+               msg.body.key_info.attr.wpa.mode = cipher_mode;
        }
        if (mode == STATION_MODE)
                msg.body.key_info.action = ADDKEY;
index e25f838..da81b92 100644 (file)
@@ -321,7 +321,7 @@ 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 *rx_mic, const u8 *tx_mic,
-                       u8 mode, u8 u8Ciphermode);
+                       u8 mode, u8 cipher_mode);
 s32 host_int_add_tx_gtk(struct host_if_drv *hWFIDrv, u8 u8KeyLen,
                        u8 *pu8TxGtk, u8 u8KeyIdx);
 s32 host_int_set_pmkid_info(struct host_if_drv *hWFIDrv,