]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: disable the capability of zero length
authorhayeswang <hayeswang@realtek.com>
Fri, 31 Jul 2015 03:23:39 +0000 (11:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Jul 2015 22:24:59 +0000 (15:24 -0700)
commit65e8ac096995ba71224caa29b079b3ca4c2c06c0
tree3722cd36a55381a119c8f37d3f5029bb2c90ef18
parent91c57ea1b50fbb35c2dfa06625d1c65b3f78b7b2
r8152: disable the capability of zero length

The UEFI driver would enable zero length, and the Linux driver doesn't
need it. Zero length let the hw complete the transfer with length 0,
when there is no received packet. It would add the load of USB host
controller and reduce the performance.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c