diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ehea/ehea_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c index 4ae65e876487..0cfc7e2ce395 100644 --- a/drivers/net/ehea/ehea_main.c +++ b/drivers/net/ehea/ehea_main.c | |||
@@ -2567,14 +2567,14 @@ static int ehea_down(struct net_device *dev) | |||
2567 | if (port->state == EHEA_PORT_DOWN) | 2567 | if (port->state == EHEA_PORT_DOWN) |
2568 | return 0; | 2568 | return 0; |
2569 | 2569 | ||
2570 | mutex_lock(&ehea_fw_handles.lock); | ||
2571 | |||
2570 | down(&ehea_bcmc_regs.lock); | 2572 | down(&ehea_bcmc_regs.lock); |
2571 | ehea_drop_multicast_list(dev); | 2573 | ehea_drop_multicast_list(dev); |
2572 | ehea_broadcast_reg_helper(port, H_DEREG_BCMC); | 2574 | ehea_broadcast_reg_helper(port, H_DEREG_BCMC); |
2573 | 2575 | ||
2574 | ehea_free_interrupts(dev); | 2576 | ehea_free_interrupts(dev); |
2575 | 2577 | ||
2576 | mutex_lock(&ehea_fw_handles.lock); | ||
2577 | |||
2578 | port->state = EHEA_PORT_DOWN; | 2578 | port->state = EHEA_PORT_DOWN; |
2579 | 2579 | ||
2580 | ehea_update_bcmc_registrations(); | 2580 | ehea_update_bcmc_registrations(); |