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>
This commit is contained in:
committed by
David S. Miller
parent
b8d40bc9c9
commit
2eb188a1c5
@@ -164,7 +164,10 @@ struct lbs_private {
|
||||
|
||||
struct mutex lock;
|
||||
|
||||
u8 tmptxbuf[LBS_UPLD_SIZE];
|
||||
/* TX packet ready to be sent... */
|
||||
int tx_pending_len; /* -1 while building packet */
|
||||
|
||||
u8 tx_pending_buf[LBS_UPLD_SIZE];
|
||||
/* protected by hard_start_xmit serialization */
|
||||
|
||||
/** command-related variables */
|
||||
|
Reference in New Issue
Block a user