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)
commite90fba8d9f6067cd511f7b855518eebda6bf2532
tree3722cd36a55381a119c8f37d3f5029bb2c90ef18
parentf8a9b1bc1b238eed9987da747a0e52f5bb009980
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