diff options
author | Michael Buesch <mb@bu3sch.de> | 2009-09-04 16:53:18 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-09-08 16:31:06 -0400 |
commit | f5d40eedb32aa9a0e226d468e1f89fb676824694 (patch) | |
tree | 8fb9fce1dd10b71fd940cbb22cbbf12887fe2d4b /drivers/net/wireless/b43/b43.h | |
parent | 36dbd9548e92268127b0c31b0e121e63e9207108 (diff) |
b43: Remove TX spinlock
This removes the TX spinlock and defers TX to a workqueue to allow
locking wl->mutex instead and to allow sleeping for register accesses.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/b43.h')
-rw-r--r-- | drivers/net/wireless/b43/b43.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/b43.h b/drivers/net/wireless/b43/b43.h index d63af926d058..1cd470d6e2da 100644 --- a/drivers/net/wireless/b43/b43.h +++ b/drivers/net/wireless/b43/b43.h | |||
@@ -683,6 +683,11 @@ struct b43_wl { | |||
683 | * This is scheduled when we determine that the actual TX output | 683 | * This is scheduled when we determine that the actual TX output |
684 | * power doesn't match what we want. */ | 684 | * power doesn't match what we want. */ |
685 | struct work_struct txpower_adjust_work; | 685 | struct work_struct txpower_adjust_work; |
686 | |||
687 | /* Packet transmit work */ | ||
688 | struct work_struct tx_work; | ||
689 | /* Queue of packets to be transmitted. */ | ||
690 | struct sk_buff_head tx_queue; | ||
686 | }; | 691 | }; |
687 | 692 | ||
688 | /* The type of the firmware file. */ | 693 | /* The type of the firmware file. */ |