mlx5: remove unused MLX5_DEBUG param in Kconfig
[firefly-linux-kernel-4.4.55.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