]> 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)
commit7f6f7cba509b70262326820636273aee6b4d0a32
tree3722cd36a55381a119c8f37d3f5029bb2c90ef18
parentc4efaa7207f88c19a34aef8410203b6f1862d73a
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