Search Linux Wireless

Re: [PATCH 04/11] ath9k: introduce bus specific cleanup routine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux