Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190375
b: refs/heads/master
c: f49a458
h: refs/heads/master
i:
  190373: 0764381
  190371: 36d801e
  190367: fd8564b
v: v3
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Apr 28, 2010
1 parent 6a5e984 commit 08163dd
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: aabc5649078310094cbffb430fcbf9c25b6268f9
refs/heads/master: f49a4589e9e25ef525da449b1ce5597cb659bbb5
4 changes: 2 additions & 2 deletions trunk/drivers/net/sfc/efx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1861,6 +1861,7 @@ int efx_reset(struct efx_nic *efx, enum reset_type method)
}

if (disabled) {
dev_close(efx->net_dev);
EFX_ERR(efx, "has been disabled\n");
efx->state = STATE_DISABLED;
} else {
Expand All @@ -1884,8 +1885,7 @@ static void efx_reset_work(struct work_struct *data)
}

rtnl_lock();
if (efx_reset(efx, efx->reset_pending))
dev_close(efx->net_dev);
(void)efx_reset(efx, efx->reset_pending);
rtnl_unlock();
}

Expand Down

0 comments on commit 08163dd

Please sign in to comment.