diff options
-rw-r--r-- | at76_usb.c | 6 | ||||
-rw-r--r-- | at76_usb.h | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -1605,7 +1605,7 @@ static void at76_read_bulk_callback(struct urb *urb) struct at76_priv *priv = urb->context; priv->rx_urb = urb; - tasklet_schedule(&priv->tasklet); + tasklet_schedule(&priv->rx_tasklet); return; } @@ -6170,8 +6170,8 @@ static struct at76_priv *at76_alloc_new_device(struct usb_device *udev, for (i = 0; i < NR_RX_DATA_BUF; i++) priv->rx_data[i].skb = NULL; - priv->tasklet.func = at76_rx_tasklet; - priv->tasklet.data = (unsigned long)priv; + priv->rx_tasklet.func = at76_rx_tasklet; + priv->rx_tasklet.data = (unsigned long)priv; priv->board_type = board_type; @@ -483,7 +483,7 @@ struct at76_priv { struct work_struct work_submit_rx; int nr_submit_rx_tries; /* number of tries to submit an rx urb left */ - struct tasklet_struct tasklet; + struct tasklet_struct rx_tasklet; struct urb *rx_urb; /* tmp urb pointer for rx_tasklet */ void *ctrl_buffer; |