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 iwn_init should not be used at the vap int...



details:   https://anonhg.NetBSD.org/src-all/rev/aa09037354a2
branches:  trunk
changeset: 367184:aa09037354a2
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Sat Nov 20 02:05:19 2021 +1100

description:
iwn_init should not be used at the vap interface level.

iiuc iwn_init should only be used on the underlying parent device.

diffstat:

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

diffs (12 lines):

diff -r 49b067457115 -r aa09037354a2 sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c      Sat Nov 20 02:02:13 2021 +1100
+++ b/sys/dev/pci/if_iwn.c      Sat Nov 20 02:05:19 2021 +1100
@@ -1011,7 +1011,7 @@
        vap->iv_reset = iwn_reset;
 
        ifp = vap->iv_ifp;
-       ifp->if_init = iwn_init;
+       //ifp->if_init = iwn_init;
        //ifp->if_ioctl = iwn_ioctl;
        ifp->if_start = iwn_start;
        // ifp->if_watchdog = i_watchdog;  NNN



Home | Main Index | Thread Index | Old Index