Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Initialize if_stop so suspend won't jump to NULL.



details:   https://anonhg.NetBSD.org/src/rev/bbdfd8fc43f7
branches:  trunk
changeset: 366565:bbdfd8fc43f7
user:      maya <maya%NetBSD.org@localhost>
date:      Sun Sep 02 19:46:53 2018 +0000

description:
Initialize if_stop so suspend won't jump to NULL.

diffstat:

 sys/dev/ic/bwfm.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r b717358e136d -r bbdfd8fc43f7 sys/dev/ic/bwfm.c
--- a/sys/dev/ic/bwfm.c Sun Sep 02 18:03:23 2018 +0000
+++ b/sys/dev/ic/bwfm.c Sun Sep 02 19:46:53 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bwfm.c,v 1.13 2018/09/01 22:01:03 riastradh Exp $ */
+/* $NetBSD: bwfm.c,v 1.14 2018/09/02 19:46:53 maya Exp $ */
 /* $OpenBSD: bwfm.c,v 1.5 2017/10/16 22:27:16 patrick Exp $ */
 /*
  * Copyright (c) 2010-2016 Broadcom Corporation
@@ -237,6 +237,7 @@
        ifp->if_init = bwfm_init;
        ifp->if_ioctl = bwfm_ioctl;
        ifp->if_start = bwfm_start;
+       ifp->if_stop = bwfm_stop;
        ifp->if_watchdog = bwfm_watchdog;
        IFQ_SET_READY(&ifp->if_snd);
        memcpy(ifp->if_xname, DEVNAME(sc), IFNAMSIZ);



Home | Main Index | Thread Index | Old Index