svn commit: r225935 - user/adrian/if_ath_tx/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Mon Oct 3 14:11:54 UTC 2011
Author: adrian
Date: Mon Oct 3 14:11:54 2011
New Revision: 225935
URL: http://svn.freebsd.org/changeset/base/225935
Log:
Add missing ATH_PCU_LOCK_DESTROY calls.
Noticed by: ray
Modified:
user/adrian/if_ath_tx/sys/dev/ath/if_ath_ahb.c
user/adrian/if_ath_tx/sys/dev/ath/if_ath_pci.c
Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath_ahb.c
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_ath_ahb.c Mon Oct 3 12:12:03 2011 (r225934)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath_ahb.c Mon Oct 3 14:11:54 2011 (r225935)
@@ -236,6 +236,7 @@ ath_ahb_detach(device_t dev)
if (sc->sc_eepromdata)
free(sc->sc_eepromdata, M_TEMP);
+ ATH_PCU_LOCK_DESTROY(sc);
ATH_LOCK_DESTROY(sc);
return (0);
Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath_pci.c
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_ath_pci.c Mon Oct 3 12:12:03 2011 (r225934)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath_pci.c Mon Oct 3 14:11:54 2011 (r225935)
@@ -201,6 +201,7 @@ ath_pci_detach(device_t dev)
bus_dma_tag_destroy(sc->sc_dmat);
bus_release_resource(dev, SYS_RES_MEMORY, BS_BAR, psc->sc_sr);
+ ATH_PCU_LOCK_DESTROY(sc);
ATH_LOCK_DESTROY(sc);
return (0);
More information about the svn-src-user
mailing list