summaryrefslogtreecommitdiff
path: root/drivers/net/usb/usbnet.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-12-14 21:08:07 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2011-12-15 19:46:36 (GMT)
commit3ad2952998b08442044690fa9b4ec38c6c3fc4a9 (patch)
tree3853bcba02617a5077f7f68bdd5e914958965eb0 /drivers/net/usb/usbnet.c
parent6ee8284edb9be5cd567ff3f772de3bf55c73fc7a (diff)
downloadlinux-fsl-qoriq-3ad2952998b08442044690fa9b4ec38c6c3fc4a9.tar.xz
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>
Diffstat (limited to 'drivers/net/usb/usbnet.c')
0 files changed, 0 insertions, 0 deletions