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 Number of spatial streams init. not only f...



details:   https://anonhg.NetBSD.org/src-all/rev/a6573e415c09
branches:  trunk
changeset: 1026848:a6573e415c09
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Tue May 12 03:59:29 2020 +1000

description:
Number of spatial streams init. not only for 11N.

diffstat:

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

diffs (19 lines):

diff -r 29ad78918f25 -r a6573e415c09 sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c      Tue May 12 03:58:31 2020 +1000
+++ b/sys/dev/pci/if_iwn.c      Tue May 12 03:59:29 2020 +1000
@@ -659,13 +659,13 @@
                else
                        ic->ic_htcaps |= IEEE80211_HTCAP_SMPS_DIS;
 #endif
-               ic->ic_txstream = sc->ntxchains;
-               ic->ic_rxstream = sc->nrxchains;
 
        }
 #endif /* !IEEE80211_NO_HT */
 
        ic->ic_getradiocaps = iwn_getradiocaps;
+       ic->ic_txstream = sc->ntxchains;
+       ic->ic_rxstream = sc->nrxchains;
 
        /* Set supported legacy rates. */
 #ifndef IEEE80211_NO_HT



Home | Main Index | Thread Index | Old Index