diff options
Diffstat (limited to 'drivers/net/netxen')
-rw-r--r-- | drivers/net/netxen/netxen_nic_main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index 076f826d5a50..08780ef1c1f8 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c | |||
@@ -1995,7 +1995,7 @@ static void netxen_tx_timeout_task(struct work_struct *work) | |||
1995 | netif_wake_queue(adapter->netdev); | 1995 | netif_wake_queue(adapter->netdev); |
1996 | 1996 | ||
1997 | clear_bit(__NX_RESETTING, &adapter->state); | 1997 | clear_bit(__NX_RESETTING, &adapter->state); |
1998 | 1998 | return; | |
1999 | } else { | 1999 | } else { |
2000 | clear_bit(__NX_RESETTING, &adapter->state); | 2000 | clear_bit(__NX_RESETTING, &adapter->state); |
2001 | if (!netxen_nic_reset_context(adapter)) { | 2001 | if (!netxen_nic_reset_context(adapter)) { |
@@ -2323,7 +2323,9 @@ netxen_detach_work(struct work_struct *work) | |||
2323 | 2323 | ||
2324 | netxen_nic_down(adapter, netdev); | 2324 | netxen_nic_down(adapter, netdev); |
2325 | 2325 | ||
2326 | rtnl_lock(); | ||
2326 | netxen_nic_detach(adapter); | 2327 | netxen_nic_detach(adapter); |
2328 | rtnl_unlock(); | ||
2327 | 2329 | ||
2328 | status = NXRD32(adapter, NETXEN_PEG_HALT_STATUS1); | 2330 | status = NXRD32(adapter, NETXEN_PEG_HALT_STATUS1); |
2329 | 2331 | ||