diff options
-rw-r--r-- | drivers/net/qlge/qlge_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c index 0c9e00f36cd9..3cb60e10d456 100644 --- a/drivers/net/qlge/qlge_main.c +++ b/drivers/net/qlge/qlge_main.c | |||
@@ -4129,12 +4129,12 @@ static int qlge_change_mtu(struct net_device *ndev, int new_mtu) | |||
4129 | queue_delayed_work(qdev->workqueue, | 4129 | queue_delayed_work(qdev->workqueue, |
4130 | &qdev->mpi_port_cfg_work, 3*HZ); | 4130 | &qdev->mpi_port_cfg_work, 3*HZ); |
4131 | 4131 | ||
4132 | ndev->mtu = new_mtu; | ||
4133 | |||
4132 | if (!netif_running(qdev->ndev)) { | 4134 | if (!netif_running(qdev->ndev)) { |
4133 | ndev->mtu = new_mtu; | ||
4134 | return 0; | 4135 | return 0; |
4135 | } | 4136 | } |
4136 | 4137 | ||
4137 | ndev->mtu = new_mtu; | ||
4138 | status = ql_change_rx_buffers(qdev); | 4138 | status = ql_change_rx_buffers(qdev); |
4139 | if (status) { | 4139 | if (status) { |
4140 | QPRINTK(qdev, IFUP, ERR, | 4140 | QPRINTK(qdev, IFUP, ERR, |