commit | 3ad2952998b08442044690fa9b4ec38c6c3fc4a9 | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Wed Dec 14 22:08:07 2011 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Dec 15 14:46:36 2011 -0500 |
tree | 3853bcba02617a5077f7f68bdd5e914958965eb0 | |
parent | 6ee8284edb9be5cd567ff3f772de3bf55c73fc7a [diff] |
ath9k: simplify tx locking Instead of releasing and taking back the lock over and over again in the tx path, hold the lock a bit longer, requiring much fewer lock/unlock pairs. This makes locking much easier to review and should not have any noticeable performance/latency impact. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>