usb_drv: Fix performance of ASIX AX88772

Caused by #773
This commit is contained in:
Sebastian Sumpf
2013-06-20 18:41:29 +02:00
committed by Norman Feske
parent 98ee7612f1
commit cc0f4bc9d2
3 changed files with 20 additions and 5 deletions

View File

@ -0,0 +1,11 @@
diff -r e55abb7f4c0a drivers/net/usb/ax88179_178a.c
--- a/drivers/net/usb/ax88179_178a.c Thu Jun 20 18:17:35 2013 +0200
+++ b/drivers/net/usb/ax88179_178a.c Thu Jun 20 18:18:13 2013 +0200
@@ -1022,6 +1022,7 @@
dev->net->netdev_ops = &ax88179_netdev_ops;
dev->net->ethtool_ops = &ax88179_ethtool_ops;
dev->net->needed_headroom = 8;
+ dev->net->net_ip_align = 1;
/* Initialize MII structure */
dev->mii.dev = dev->net;