staging: wilc1000: fix return type of wilc_add_pkt declaration
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 22 Dec 2015 00:48:57 +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_pkt 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 8faac27002e99947eba1e5689be73ed275c48b09..be1536ada17567dfae3f55105170af737f8463aa 100644 (file)
@@ -312,7 +312,7 @@ int wilc_add_wep_key_bss_sta(struct wilc_vif *vif, const u8 *key, u8 len,
                             u8 index);
 int wilc_add_wep_key_bss_ap(struct wilc_vif *vif, const u8 *key, u8 len,
                            u8 index, u8 mode, enum AUTHTYPE auth_type);
-s32 wilc_add_ptk(struct wilc_vif *vif, const u8 *pu8Ptk, u8 u8PtkKeylen,
+int wilc_add_ptk(struct wilc_vif *vif, const u8 *pu8Ptk, u8 u8PtkKeylen,
                 const u8 *mac_addr, const u8 *pu8RxMic, const u8 *pu8TxMic,
                 u8 mode, u8 u8Ciphermode, u8 u8Idx);
 s32 wilc_get_inactive_time(struct wilc_vif *vif, const u8 *mac,
This page took 0.024439 seconds and 5 git commands to generate.