diff options
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index 343eb68fff73..0d7c458168d3 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -3485,12 +3485,11 @@ e1000_change_mtu(struct net_device *netdev, int new_mtu) | |||
3485 | adapter->rx_buffer_len = MAXIMUM_ETHERNET_VLAN_SIZE; | 3485 | adapter->rx_buffer_len = MAXIMUM_ETHERNET_VLAN_SIZE; |
3486 | 3486 | ||
3487 | netdev->mtu = new_mtu; | 3487 | netdev->mtu = new_mtu; |
3488 | adapter->hw.max_frame_size = max_frame; | ||
3488 | 3489 | ||
3489 | if (netif_running(netdev)) | 3490 | if (netif_running(netdev)) |
3490 | e1000_reinit_locked(adapter); | 3491 | e1000_reinit_locked(adapter); |
3491 | 3492 | ||
3492 | adapter->hw.max_frame_size = max_frame; | ||
3493 | |||
3494 | return 0; | 3493 | return 0; |
3495 | } | 3494 | } |
3496 | 3495 | ||