source: trunk/package/mac80211/patches/851-p54spi-mutex-fix.patch @ 29200

Last change on this file since 29200 was 29200, checked in by mb, 5 years ago

p54spi: Lock fixes

File size: 683 bytes
  • drivers/net/wireless/p54/p54spi.c

    old new static void p54spi_op_stop(struct ieee80 
    581581        struct p54s_priv *priv = dev->priv; 
    582582        unsigned long flags; 
    583583 
    584         if (mutex_lock_interruptible(&priv->mutex)) { 
    585                 /* FIXME: how to handle this error? */ 
    586                 return; 
    587         } 
    588  
     584        mutex_lock(&priv->mutex); 
    589585        WARN_ON(priv->fw_state != FW_STATE_READY); 
    590586 
    591587        cancel_work_sync(&priv->work); 
Note: See TracBrowser for help on using the repository browser.