On Wed, 2009-01-07 at 11:09 +0100, Gabor Juhos wrote: > /* Deinitialize the device */ > - ath_detach(sc); > - if (to_pci_dev(sc->dev)->irq) > - free_irq(to_pci_dev(sc->dev)->irq, sc); > - pci_iounmap(to_pci_dev(sc->dev), sc->mem); > - pci_release_region(to_pci_dev(sc->dev), 0); > - pci_disable_device(to_pci_dev(sc->dev)); > - ieee80211_free_hw(sc->hw); > + ath_bus_cleanup(sc); And how is ath_detach() or ieee80211_free_hw() bus specific? That should not be in the bus specific function. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part