aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/efx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sfc/efx.c')
-rw-r--r--drivers/net/sfc/efx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c
index 4787faaf30c..9f3ef387a04 100644
--- a/drivers/net/sfc/efx.c
+++ b/drivers/net/sfc/efx.c
@@ -186,7 +186,8 @@ static void efx_fini_channels(struct efx_nic *efx);
186 186
187#define EFX_ASSERT_RESET_SERIALISED(efx) \ 187#define EFX_ASSERT_RESET_SERIALISED(efx) \
188 do { \ 188 do { \
189 if (efx->state == STATE_RUNNING) \ 189 if ((efx->state == STATE_RUNNING) || \
190 (efx->state == STATE_DISABLED)) \
190 ASSERT_RTNL(); \ 191 ASSERT_RTNL(); \
191 } while (0) 192 } while (0)
192 193