carl9170: interrupt urbs must not set URB_ZERO_PACKET
authorChristian Lamparter <chunkeey@googlemail.com>
Mon, 27 Sep 2010 23:53:42 +0000 (01:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 28 Sep 2010 19:47:58 +0000 (15:47 -0400)
commitdc4769f0bb949e312ad8d9b652047ff6709978c2
tree19f7c3192c1838e3a6cc6b3744c1ec1f50617d20
parenteada7cad6005006b457f10a4c3e1881ff99d03a4
carl9170: interrupt urbs must not set URB_ZERO_PACKET

This patch fixes a bug in the driver which was
exposed by CONFIG_USB_DEBUG:
"usb 1-1.6.3: BOGUS urb flags, 40 --> 0"

The transfer flag "URB_ZERO_PACKET" is only valid
for bulk urbs.

Reported-by: André Erdmann
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/carl9170/usb.c