summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/wlan/if_uath.c
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2013-07-04 20:57:15 +0000
committerrpaulo <rpaulo@FreeBSD.org>2013-07-04 20:57:15 +0000
commit323bbb2da1c96dac40be6115c94507c2eed99186 (patch)
tree49b179408a343c41771d92300976c32d0cb3abff /sys/dev/usb/wlan/if_uath.c
parent1e7b7f017d20050656d3e9d3953244a7cc3e6de1 (diff)
downloadFreeBSD-src-323bbb2da1c96dac40be6115c94507c2eed99186.zip
FreeBSD-src-323bbb2da1c96dac40be6115c94507c2eed99186.tar.gz
Set ic_cryptocaps to make sure wpa_supplicant works with WEP.
Diffstat (limited to 'sys/dev/usb/wlan/if_uath.c')
-rw-r--r--sys/dev/usb/wlan/if_uath.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/usb/wlan/if_uath.c b/sys/dev/usb/wlan/if_uath.c
index f238d0d..76bd02b 100644
--- a/sys/dev/usb/wlan/if_uath.c
+++ b/sys/dev/usb/wlan/if_uath.c
@@ -457,6 +457,12 @@ uath_attach(device_t dev)
IEEE80211_C_BGSCAN | /* capable of bg scanning */
IEEE80211_C_TXFRAG; /* handle tx frags */
+ ic->ic_cryptocaps =
+ IEEE80211_CRYPTO_WEP |
+ IEEE80211_CRYPTO_AES_CCM |
+ IEEE80211_CRYPTO_TKIPMIC |
+ IEEE80211_CRYPTO_TKIP;
+
/* put a regulatory domain to reveal informations. */
uath_regdomain = sc->sc_devcap.regDomain;
OpenPOWER on IntegriCloud