forked from Minki/linux
staging: rtl8188eu: change return type of rtw_hal_xmit()
The function rtw_hal_xmit() returns true or false. Change the return type from s32 to bool. Signed-off-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ddc95605ad
commit
8a6b6868eb
@ -598,7 +598,7 @@ bool rtl8188eu_xmitframe_complete(struct adapter *adapt,
|
||||
* true dump packet directly
|
||||
* false enqueue packet
|
||||
*/
|
||||
s32 rtw_hal_xmit(struct adapter *adapt, struct xmit_frame *pxmitframe)
|
||||
bool rtw_hal_xmit(struct adapter *adapt, struct xmit_frame *pxmitframe)
|
||||
{
|
||||
s32 res;
|
||||
struct xmit_buf *pxmitbuf = NULL;
|
||||
|
@ -185,7 +185,7 @@ u32 rtw_hal_inirp_init(struct adapter *padapter);
|
||||
void rtw_hal_inirp_deinit(struct adapter *padapter);
|
||||
void usb_intf_stop(struct adapter *padapter);
|
||||
|
||||
s32 rtw_hal_xmit(struct adapter *padapter, struct xmit_frame *pxmitframe);
|
||||
bool rtw_hal_xmit(struct adapter *padapter, struct xmit_frame *pxmitframe);
|
||||
s32 rtw_hal_mgnt_xmit(struct adapter *padapter,
|
||||
struct xmit_frame *pmgntframe);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user