ath5k: move reset to mac80211 workqueue
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / ath / ath5k / base.h
index 56221bc7c8cd095208af6f8a591678df5f327e84..86c90f471b74d8fc41d2e6ba4802cd81477eb87d 100644 (file)
@@ -47,6 +47,7 @@
 #include <linux/if_ether.h>
 #include <linux/leds.h>
 #include <linux/rfkill.h>
+#include <linux/workqueue.h>
 
 #include "ath5k.h"
 #include "debug.h"
@@ -189,7 +190,7 @@ struct ath5k_softc {
        unsigned int            led_pin,        /* GPIO pin for driving LED */
                                led_on;         /* pin setting for LED on */
 
-       struct tasklet_struct   restq;          /* reset tasklet */
+       struct work_struct      reset_work;     /* deferred chip reset */
 
        unsigned int            rxbufsize;      /* rx size based on mtu */
        struct list_head        rxbuf;          /* receive buffer */