ar71xx: rewrite WNDR3700/3800 handling
[openwrt.git] / package / mac80211 / patches / 852-p54spi-cancel-workqueue-fix.patch
1 --- a/drivers/net/wireless/p54/p54spi.c
2 +++ b/drivers/net/wireless/p54/p54spi.c
3 @@ -584,8 +584,6 @@ static void p54spi_op_stop(struct ieee80
4 mutex_lock(&priv->mutex);
5 WARN_ON(priv->fw_state != FW_STATE_READY);
6
7 - cancel_work_sync(&priv->work);
8 -
9 p54spi_power_off(priv);
10 spin_lock_irqsave(&priv->tx_lock, flags);
11 INIT_LIST_HEAD(&priv->tx_pending);
12 @@ -593,6 +591,8 @@ static void p54spi_op_stop(struct ieee80
13
14 priv->fw_state = FW_STATE_OFF;
15 mutex_unlock(&priv->mutex);
16 +
17 + cancel_work_sync(&priv->work);
18 }
19
20 static int __devinit p54spi_probe(struct spi_device *spi)
This page took 0.050625 seconds and 5 git commands to generate.