Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183970
b: refs/heads/master
c: 746079d
h: refs/heads/master
v: v3
  • Loading branch information
Breno Leitao authored and David S. Miller committed Feb 4, 2010
1 parent a8e1257 commit 756218a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e0fee99fce97af37b1db6ed8dd6951fb9a8d7201
refs/heads/master: 746079dabcf74be2a16dc983ac597156e3d2e051
4 changes: 2 additions & 2 deletions trunk/drivers/net/qlge/qlge_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4129,12 +4129,12 @@ static int qlge_change_mtu(struct net_device *ndev, int new_mtu)
queue_delayed_work(qdev->workqueue,
&qdev->mpi_port_cfg_work, 3*HZ);

ndev->mtu = new_mtu;

if (!netif_running(qdev->ndev)) {
ndev->mtu = new_mtu;
return 0;
}

ndev->mtu = new_mtu;
status = ql_change_rx_buffers(qdev);
if (status) {
QPRINTK(qdev, IFUP, ERR,
Expand Down

0 comments on commit 756218a

Please sign in to comment.