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/cfc09e62d9c9
branches:  trunk
changeset: 950476:cfc09e62d9c9
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 2c800b2e67c9 -r cfc09e62d9c9 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
@@ -586,13 +586,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