Ignore:
Timestamp:
2010-03-05T21:29:22+01:00 (7 years ago)
Author:
juhosg
Message:

ar71xx: ag71xx: move calling ag71xx_phy_stop out from spinlock

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c

    r20003 r20004  
    581581        unsigned long flags; 
    582582 
    583         spin_lock_irqsave(&ag->lock, flags); 
    584  
    585         netif_stop_queue(dev); 
    586  
    587         ag71xx_hw_stop(ag); 
    588  
    589583        netif_carrier_off(dev); 
    590584        ag71xx_phy_stop(ag); 
     585 
     586        spin_lock_irqsave(&ag->lock, flags); 
     587 
     588        netif_stop_queue(dev); 
     589 
     590        ag71xx_hw_stop(ag); 
    591591 
    592592        napi_disable(&ag->napi); 
Note: See TracChangeset for help on using the changeset viewer.