staging: wilc1000: fix return type of host_int_add_wep_key_bss_sta
[firefly-linux-kernel-4.4.55.git] / drivers / staging / wilc1000 / host_interface.c
index 5a2cae2356e8e79947a69d038da167d53dae90db..4ccd31bc5f04a16a2d08a36e26717ae3c020e991 100644 (file)
@@ -3105,12 +3105,12 @@ int host_int_set_wep_default_key(struct host_if_drv *hif_drv, u8 index)
        return result;
 }
 
-s32 host_int_add_wep_key_bss_sta(struct host_if_drv *hif_drv,
+int host_int_add_wep_key_bss_sta(struct host_if_drv *hif_drv,
                                 const u8 *pu8WepKey,
                                 u8 u8WepKeylen,
                                 u8 u8Keyidx)
 {
-       s32 result = 0;
+       int result = 0;
        struct host_if_msg msg;
 
        if (!hif_drv) {