diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-12-09 23:54:27 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:06:30 -0500 |
commit | 2eb188a1c57ae79283cee951c317bd191cf1ca56 (patch) | |
tree | 6fa459e2d171f035c97af88bfa5957dd544b4413 /drivers/net/wireless/libertas/dev.h | |
parent | b8d40bc9c9099943cbcf18d285bf241f1f080a44 (diff) |
libertas: Move actual transmission to main thread
The locking issues with TX, especially TX from multiple netdevs, get
_so_ much easier if you do it like this.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/dev.h')
-rw-r--r-- | drivers/net/wireless/libertas/dev.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/dev.h b/drivers/net/wireless/libertas/dev.h index 04cf33da5899..468140512a66 100644 --- a/drivers/net/wireless/libertas/dev.h +++ b/drivers/net/wireless/libertas/dev.h | |||
@@ -164,7 +164,10 @@ struct lbs_private { | |||
164 | 164 | ||
165 | struct mutex lock; | 165 | struct mutex lock; |
166 | 166 | ||
167 | u8 tmptxbuf[LBS_UPLD_SIZE]; | 167 | /* TX packet ready to be sent... */ |
168 | int tx_pending_len; /* -1 while building packet */ | ||
169 | |||
170 | u8 tx_pending_buf[LBS_UPLD_SIZE]; | ||
168 | /* protected by hard_start_xmit serialization */ | 171 | /* protected by hard_start_xmit serialization */ |
169 | 172 | ||
170 | /** command-related variables */ | 173 | /** command-related variables */ |