]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] zd1211rw: Optimized handling of zero length entries in length info
authorUlrich Kunitz <kune@deine-taler.de>
Wed, 22 Nov 2006 00:06:19 +0000 (00:06 +0000)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 05:12:05 +0000 (00:12 -0500)
commit850c211ce6948bcd71e505be22b7ead99a425bfa
tree6d822061488bbfdf1763f0bb4ce347d083813770
parent741fec53f268b691b869ffc70023319406e0cc97
[PATCH] zd1211rw: Optimized handling of zero length entries in length info

There are a high number of split USB transactions, which contain
only one packet but have a length info field. This patch optimizes
this code by stopping parsing the length info structure if a zero
length field is encountered.

Signed-off-by: Ulrich Kunitz <kune@deine-taler.de>
Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_usb.c