projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ath5k: move reset to mac80211 workqueue
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
net
/
wireless
/
ath
/
ath5k
/
base.h
diff --git
a/drivers/net/wireless/ath/ath5k/base.h
b/drivers/net/wireless/ath/ath5k/base.h
index 56221bc7c8cd095208af6f8a591678df5f327e84..86c90f471b74d8fc41d2e6ba4802cd81477eb87d 100644
(file)
--- a/
drivers/net/wireless/ath/ath5k/base.h
+++ b/
drivers/net/wireless/ath/ath5k/base.h
@@
-47,6
+47,7
@@
#include <linux/if_ether.h>
#include <linux/leds.h>
#include <linux/rfkill.h>
#include <linux/if_ether.h>
#include <linux/leds.h>
#include <linux/rfkill.h>
+#include <linux/workqueue.h>
#include "ath5k.h"
#include "debug.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 */
unsigned int led_pin, /* GPIO pin for driving LED */
led_on; /* pin setting for LED on */
- struct
tasklet_struct restq; /* reset taskl
et */
+ struct
work_struct reset_work; /* deferred chip res
et */
unsigned int rxbufsize; /* rx size based on mtu */
struct list_head rxbuf; /* receive buffer */
unsigned int rxbufsize; /* rx size based on mtu */
struct list_head rxbuf; /* receive buffer */