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 Don't override interface name.



details:   https://anonhg.NetBSD.org/src-all/rev/1c6a34c4506a
branches:  trunk
changeset: 1027041:1c6a34c4506a
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Sun Oct 04 20:07:26 2020 +1100

description:
Don't override interface name.

diffstat:

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

diffs (11 lines):

diff -r 2ba3bee93a4e -r 1c6a34c4506a sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c      Thu Oct 08 21:31:05 2020 +0200
+++ b/sys/dev/pci/if_iwn.c      Sun Oct 04 20:07:26 2020 +1100
@@ -986,7 +986,6 @@
        ifp->if_start = iwn_start;
        // ifp->if_watchdog = i_watchdog;  NNN
        ifp->if_extflags |= IFEF_MPSAFE;
-       memcpy(ifp->if_xname, device_xname(sc->sc_dev), IFNAMSIZ);
 
        /* Finish setup */
        ieee80211_vap_attach(vap, iwn_media_change,



Home | Main Index | Thread Index | Old Index