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/6826a1fd344f
branches:  trunk
changeset: 933407:6826a1fd344f
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 b3700d037ba9 -r 6826a1fd344f 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