Source-Changes-HG archive

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

[src-draft/trunk]: src/sys/dev/pci Stop hw before init.



details:   https://anonhg.NetBSD.org/src-all/rev/5c7a4f2ba3dd
branches:  trunk
changeset: 1026925:5c7a4f2ba3dd
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Wed Jul 01 12:29:29 2020 +1000

description:
Stop hw before init.

diffstat:

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

diffs (12 lines):

diff -r 31b90a3c4099 -r 5c7a4f2ba3dd sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c      Wed Jul 01 12:28:56 2020 +1000
+++ b/sys/dev/pci/if_iwn.c      Wed Jul 01 12:29:29 2020 +1000
@@ -3844,7 +3844,7 @@
                error = 0;
                if ((ifp->if_flags & (IFF_UP | IFF_RUNNING)) ==
                    (IFF_UP | IFF_RUNNING)) {
-//                     iwn_stop(ifp, 0);
+                       iwn_stop(ifp, 0);
                        iwn_init(ifp);
                }
                error = 0;



Home | Main Index | Thread Index | Old Index