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 Add standard ic flags.



details:   https://anonhg.NetBSD.org/src-all/rev/7c72ed25f4b0
branches:  trunk
changeset: 952400:7c72ed25f4b0
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Tue May 12 04:00:40 2020 +1000

description:
Add standard ic flags.

diffstat:

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

diffs (12 lines):

diff -r 71690893427d -r 7c72ed25f4b0 sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c      Tue May 12 04:00:02 2020 +1000
+++ b/sys/dev/pci/if_iwn.c      Tue May 12 04:00:40 2020 +1000
@@ -593,6 +593,8 @@
        ic->ic_txstream = sc->ntxchains;
        ic->ic_rxstream = sc->nrxchains;
 
+       ic->ic_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
+
        /* Set supported legacy rates. */
 #ifndef IEEE80211_NO_HT
        if (sc->sc_flags & IWN_FLAG_HAS_11N) {



Home | Main Index | Thread Index | Old Index