|
@@ -843,7 +843,7 @@ void usb_write_port_cancel(struct adapter *padapter)
|
|
|
void rtl8188eu_recv_tasklet(void *priv)
|
|
|
{
|
|
|
struct sk_buff *pskb;
|
|
|
- struct adapter *adapt = (struct adapter *)priv;
|
|
|
+ struct adapter *adapt = priv;
|
|
|
struct recv_priv *precvpriv = &adapt->recvpriv;
|
|
|
|
|
|
while (NULL != (pskb = skb_dequeue(&precvpriv->rx_skb_queue))) {
|
|
@@ -862,7 +862,7 @@ void rtl8188eu_recv_tasklet(void *priv)
|
|
|
void rtl8188eu_xmit_tasklet(void *priv)
|
|
|
{
|
|
|
int ret = false;
|
|
|
- struct adapter *adapt = (struct adapter *)priv;
|
|
|
+ struct adapter *adapt = priv;
|
|
|
struct xmit_priv *pxmitpriv = &adapt->xmitpriv;
|
|
|
|
|
|
if (check_fwstate(&adapt->mlmepriv, _FW_UNDER_SURVEY))
|