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/ab944c3c0172
branches:  trunk
changeset: 363032:ab944c3c0172
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 a12a65b90f03 -r ab944c3c0172 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
@@ -666,6 +666,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