staging: rtl8723au: hal_com.c: Fix one case of returning status in an s32
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 16 May 2014 08:04:50 +0000 (10:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 18:34:32 +0000 (11:34 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/hal_com.c

index bb948e595be3490c67e118282e13f9db85876fb7..29e0ec9acb65cf6a7c370dca1ea0685f8409f6a6 100644 (file)
@@ -355,9 +355,9 @@ void c2h_evt_clear23a(struct rtw_adapter *adapter)
        rtw_write8(adapter, REG_C2HEVT_CLEAR, C2H_EVT_HOST_CLOSE);
 }
 
-s32 c2h_evt_read23a(struct rtw_adapter *adapter, u8 *buf)
+int c2h_evt_read23a(struct rtw_adapter *adapter, u8 *buf)
 {
-       s32 ret = _FAIL;
+       int ret = _FAIL;
        struct c2h_evt_hdr *c2h_evt;
        int i;
        u8 trigger;