mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 21:34:37 +00:00
fix cfi trip from usb_recv_tasklet
This commit is contained in:
parent
ee299797bc
commit
92c313c3b1
@ -89,7 +89,7 @@ int usb_write16(struct intf_hdl *pintfhdl, u32 addr, u16 val);
|
|||||||
int usb_write32(struct intf_hdl *pintfhdl, u32 addr, u32 val);
|
int usb_write32(struct intf_hdl *pintfhdl, u32 addr, u32 val);
|
||||||
int usb_writeN(struct intf_hdl *pintfhdl, u32 addr, u32 length, u8 *pdata);
|
int usb_writeN(struct intf_hdl *pintfhdl, u32 addr, u32 length, u8 *pdata);
|
||||||
u32 usb_read_port(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *rmem);
|
u32 usb_read_port(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *rmem);
|
||||||
void usb_recv_tasklet(void *priv);
|
void usb_recv_tasklet(unsigned long priv);
|
||||||
|
|
||||||
#ifdef CONFIG_USB_INTERRUPT_IN_PIPE
|
#ifdef CONFIG_USB_INTERRUPT_IN_PIPE
|
||||||
void usb_read_interrupt_complete(struct urb *purb, struct pt_regs *regs);
|
void usb_read_interrupt_complete(struct urb *purb, struct pt_regs *regs);
|
||||||
|
@ -724,7 +724,7 @@ void usb_init_recvbuf(_adapter *padapter, struct recv_buf *precvbuf)
|
|||||||
int recvbuf2recvframe(PADAPTER padapter, void *ptr);
|
int recvbuf2recvframe(PADAPTER padapter, void *ptr);
|
||||||
|
|
||||||
#ifdef CONFIG_USE_USB_BUFFER_ALLOC_RX
|
#ifdef CONFIG_USE_USB_BUFFER_ALLOC_RX
|
||||||
void usb_recv_tasklet(void *priv)
|
void usb_recv_tasklet(unsigned long priv)
|
||||||
{
|
{
|
||||||
struct recv_buf *precvbuf = NULL;
|
struct recv_buf *precvbuf = NULL;
|
||||||
_adapter *padapter = (_adapter *)priv;
|
_adapter *padapter = (_adapter *)priv;
|
||||||
@ -862,7 +862,7 @@ u32 usb_read_port(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *rmem)
|
|||||||
}
|
}
|
||||||
#else /* CONFIG_USE_USB_BUFFER_ALLOC_RX */
|
#else /* CONFIG_USE_USB_BUFFER_ALLOC_RX */
|
||||||
|
|
||||||
void usb_recv_tasklet(void *priv)
|
void usb_recv_tasklet(unsigned long priv)
|
||||||
{
|
{
|
||||||
_pkt *pskb;
|
_pkt *pskb;
|
||||||
_adapter *padapter = (_adapter *)priv;
|
_adapter *padapter = (_adapter *)priv;
|
||||||
|
Loading…
Reference in New Issue
Block a user