Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci What we have created, we must destroy.



details:   https://anonhg.NetBSD.org/src/rev/62088d7a6778
branches:  trunk
changeset: 365525:62088d7a6778
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 20 02:33:17 2018 +0000

description:
What we have created, we must destroy.

diffstat:

 sys/dev/pci/if_wpi.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r f9a93e85e164 -r 62088d7a6778 sys/dev/pci/if_wpi.c
--- a/sys/dev/pci/if_wpi.c      Sun Aug 19 23:50:27 2018 +0000
+++ b/sys/dev/pci/if_wpi.c      Mon Aug 20 02:33:17 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wpi.c,v 1.80 2018/06/26 06:48:01 msaitoh Exp $      */
+/*     $NetBSD: if_wpi.c,v 1.81 2018/08/20 02:33:17 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2006, 2007
@@ -18,7 +18,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wpi.c,v 1.80 2018/06/26 06:48:01 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wpi.c,v 1.81 2018/08/20 02:33:17 riastradh Exp $");
 
 /*
  * Driver for Intel PRO/Wireless 3945ABG 802.11 network adapters.
@@ -657,6 +657,7 @@
 static void
 wpi_free_rpool(struct wpi_softc *sc)
 {
+       mutex_destroy(&sc->rxq.freelist_mtx);
        wpi_dma_contig_free(&sc->rxq.buf_dma);
 }
 



Home | Main Index | Thread Index | Old Index