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/304077cd5d08
branches:  trunk
changeset: 375178:304077cd5d08
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 f8527cede67a -r 304077cd5d08 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 @@ iwn_vap_create(struct ieee80211com *ic, 
        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