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/71d4f8c5c63d
branches:  trunk
changeset: 376750:71d4f8c5c63d
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 ce014bd39a79 -r 71d4f8c5c63d 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 @@ iwn_attach(device_t parent __unused, dev
                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