]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/usb/asix_devices.c
Merge remote-tracking branch 'spi/for-next'
[karo-tx-linux.git] / drivers / net / usb / asix_devices.c
index ad5d1e4384db7b3b6c3ab6f2406b5cd8075cd2d0..386a3df53678a23761308938221f4aa79b520538 100644 (file)
@@ -778,6 +778,9 @@ static int ax88178_change_mtu(struct net_device *net, int new_mtu)
        dev->hard_mtu = net->mtu + net->hard_header_len;
        ax88178_set_mfb(dev);
 
+       /* max qlen depend on hard_mtu and rx_urb_size */
+       usbnet_update_max_qlen(dev);
+
        return 0;
 }
 
@@ -943,8 +946,6 @@ static const struct driver_info hg20f9_info = {
        .data = FLAG_EEPROM_MAC,
 };
 
-extern const struct driver_info ax88172a_info;
-
 static const struct usb_device_id      products [] = {
 {
        // Linksys USB200M