commit 0502eaf38feecbf979967a5cb35e16358ad08355 Author: Jiri Slaby Date: Tue Jul 24 08:53:26 2007 +0200 some whitespaces diff --git a/ath.c b/ath.c index 81cd577..c7a7a20 100644 --- a/ath.c +++ b/ath.c @@ -545,7 +545,7 @@ static int ath_stop_locked(struct ath_softc *); static int ath_init(struct ath_softc *sc) { int ret; - + mutex_lock(&sc->lock); DPRINTF(sc, ATH_DEBUG_RESET, "%s: mode %d\n", __func__, sc->opmode); @@ -693,7 +693,7 @@ static void ath_draintxq(struct ath_softc *sc) } } ieee80211_start_queues(sc->hw); /* XXX move to callers */ - + for (i = 0; i < ARRAY_SIZE(sc->txqs); i++) if (sc->txqs[i].setup) ath_tx_draintxq(sc, &sc->txqs[i]); @@ -857,7 +857,7 @@ static int ath_chan_set(struct ath_softc *sc, struct ieee80211_channel *chan) { struct ath_hw *ah = sc->ah; int ret; - + DPRINTF(sc, ATH_DEBUG_RESET, "%s: %u (%u MHz) -> %u (%u MHz)\n", __func__, sc->curchan->chan, sc->curchan->freq, chan->chan, chan->freq); @@ -1016,7 +1016,7 @@ static int ath_reset(struct ieee80211_hw *hw) struct ath_softc *sc = hw->priv; struct ath_hw *ah = sc->ah; int ret; - + DPRINTF(sc, ATH_DEBUG_RESET, "resetting\n"); /* * Convert to a HAL channel description with the flags @@ -1027,7 +1027,7 @@ static int ath_reset(struct ieee80211_hw *hw) ath5k_hw_set_intr(ah, 0); ath_draintxq(sc); ath_stoprecv(sc); - + ret = ath5k_hw_reset(ah, sc->opmode, sc->curchan, true); if (unlikely(ret)) { printk(KERN_ERR "ath: can't reset hardware (%d)\n", ret); @@ -1861,7 +1861,7 @@ static void ath_detach(struct pci_dev *pdev, struct ieee80211_hw *hw) { struct ath_softc *sc = hw->priv; - /* + /* * NB: the order of these is important: * o call the 802.11 layer before detaching the hal to * insure callbacks into the driver to delete global @@ -1998,7 +1998,7 @@ static int __devinit ath_pci_probe(struct pci_dev *pdev, pci_set_drvdata(pdev, hw); ret = request_irq(pdev->irq, ath_intr, IRQF_SHARED, "ath", sc); - if (ret) { + if (ret) { dev_err(&pdev->dev, "request_irq failed\n"); goto err_free; } @@ -2058,7 +2058,7 @@ static int ath_pci_suspend(struct pci_dev *pdev, pm_message_t state) struct ieee80211_hw *hw = pci_get_drvdata(pdev); struct ath_softc *sc = hw->priv; - if (sc->led_soft) + if (sc->led_soft) ath5k_hw_set_gpio(sc->ah, sc->led_pin, 1); ath_stop_hw(sc);