staging: rtl8723au: hal_com.c: Fix one case of returning status in an s32

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jes Sorensen
2014-05-16 10:04:50 +02:00
committed by Greg Kroah-Hartman
parent 95d412d830
commit 18bd6df23d

View 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;