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/3eeae91df1e4
branches:  trunk
changeset: 939477:3eeae91df1e4
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 0bf58335d593 -r 3eeae91df1e4 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