Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/dev/usb Explicitly set crytocaps to zero to ensure...



details:   https://anonhg.NetBSD.org/src-all/rev/d6ce97bad5d2
branches:  trunk
changeset: 360779:d6ce97bad5d2
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Fri May 08 07:41:53 2020 +1000

description:
Explicitly set crytocaps to zero to ensure the use of sw ciphers.

diffstat:

 sys/dev/usb/if_urtwn.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 2609bdbde1b9 -r d6ce97bad5d2 sys/dev/usb/if_urtwn.c
--- a/sys/dev/usb/if_urtwn.c    Wed May 06 21:31:25 2020 +0200
+++ b/sys/dev/usb/if_urtwn.c    Fri May 08 07:41:53 2020 +1000
@@ -532,11 +532,13 @@
            IEEE80211_HTCAP_SHORTGI40;          /* short GI in 40MHz */
 #endif
 
-#if 0
+#ifdef notyet
        ic->ic_cryptocaps =
                IEEE80211_CRYPTO_WEP |
                IEEE80211_CRYPTO_TKIP |
                IEEE80211_CRYPTO_AES_CCM;
+#else
+       ic->ic_cryptocaps = 0;
 #endif
 
        ic->ic_txstream = sc->ntxchains;



Home | Main Index | Thread Index | Old Index