diff options
author | Michael Buesch <mb@bu3sch.de> | 2008-04-25 19:29:08 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-01 23:38:18 +0200 |
commit | 21a75d7788f4e29b6c6d28e08f9f0310c4de828d (patch) | |
tree | fa61a2ca42bbc98c28a760630e39f8f3c781d6f2 /drivers/net/wireless/b43/b43.h | |
parent | Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/linville... (diff) | |
download | linux-21a75d7788f4e29b6c6d28e08f9f0310c4de828d.tar.xz linux-21a75d7788f4e29b6c6d28e08f9f0310c4de828d.zip |
b43: Fix some TX/RX locking issues
This fixes some TX/RX related locking issues.
With this patch applied, some of the PHY transmission errors are fixed.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/b43.h b/drivers/net/wireless/b43/b43.h index eff2a158a411..37783cdd301a 100644 --- a/drivers/net/wireless/b43/b43.h +++ b/drivers/net/wireless/b43/b43.h @@ -691,6 +691,10 @@ struct b43_wl { struct mutex mutex; spinlock_t irq_lock; + /* R/W lock for data transmission. + * Transmissions on 2+ queues can run concurrently, but somebody else + * might sync with TX by write_lock_irqsave()'ing. */ + rwlock_t tx_lock; /* Lock for LEDs access. */ spinlock_t leds_lock; /* Lock for SHM access. */ |