staging: wilc1000: fix return type of wilc_add_rx_gtk declaration
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 22 Dec 2015 00:48:59 +0000 (09:48 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:05:35 +0000 (15:05 -0800)
This patch changes return type of wilc_add_rx_gtk declaration from s32
to int. The return type of this function declaration and definition
should be same as data type of int.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.h

index 7e89776baa97337369f38cb3d38f81ffab50c812..02c1017156d5f7a2aa1fcde025784eb03aef5899 100644 (file)
@@ -317,7 +317,7 @@ int wilc_add_ptk(struct wilc_vif *vif, const u8 *ptk, u8 ptk_key_len,
                 u8 mode, u8 cipher_mode, u8 index);
 s32 wilc_get_inactive_time(struct wilc_vif *vif, const u8 *mac,
                           u32 *pu32InactiveTime);
-s32 wilc_add_rx_gtk(struct wilc_vif *vif, const u8 *pu8RxGtk, u8 u8GtkKeylen,
+int wilc_add_rx_gtk(struct wilc_vif *vif, const u8 *pu8RxGtk, u8 u8GtkKeylen,
                    u8 u8KeyIdx, u32 u32KeyRSClen, const u8 *KeyRSC,
                    const u8 *pu8RxMic, const u8 *pu8TxMic, u8 mode,
                    u8 u8Ciphermode);
This page took 0.025289 seconds and 5 git commands to generate.