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/b62a80215085
branches:  trunk
changeset: 364016:b62a80215085
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 fee2706df831 -r b62a80215085 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