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 Name the ic.



details:   https://anonhg.NetBSD.org/src-all/rev/0a4c226e0442
branches:  trunk
changeset: 933097:0a4c226e0442
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Tue May 12 03:58:31 2020 +1000

description:
Name the ic.

diffstat:

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

diffs (11 lines):

diff -r a98ff4542117 -r 0a4c226e0442 sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c      Tue May 12 03:57:20 2020 +1000
+++ b/sys/dev/pci/if_iwn.c      Tue May 12 03:58:31 2020 +1000
@@ -549,6 +549,7 @@
            sc->ntxchains, sc->nrxchains, sc->eeprom_domain,
            ether_sprintf(ic->ic_macaddr));
 
+       ic->ic_name = "iwn";
        ic->ic_softc = sc;
        ic->ic_phytype = IEEE80211_T_OFDM;      /* not only, but not used */
        ic->ic_opmode = IEEE80211_M_STA;        /* default to BSS mode */



Home | Main Index | Thread Index | Old Index