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/8c63bc99079a
branches:  trunk
changeset: 939159:8c63bc99079a
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 71bb04269585 -r 8c63bc99079a 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