From 323bbb2da1c96dac40be6115c94507c2eed99186 Mon Sep 17 00:00:00 2001 From: rpaulo Date: Thu, 4 Jul 2013 20:57:15 +0000 Subject: Set ic_cryptocaps to make sure wpa_supplicant works with WEP. --- sys/dev/usb/wlan/if_rum.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys/dev/usb/wlan/if_rum.c') diff --git a/sys/dev/usb/wlan/if_rum.c b/sys/dev/usb/wlan/if_rum.c index fa4e9f1..1d17ceb 100644 --- a/sys/dev/usb/wlan/if_rum.c +++ b/sys/dev/usb/wlan/if_rum.c @@ -502,6 +502,12 @@ rum_attach(device_t self) | IEEE80211_C_WPA /* 802.11i */ ; + ic->ic_cryptocaps = + IEEE80211_CRYPTO_WEP | + IEEE80211_CRYPTO_AES_CCM | + IEEE80211_CRYPTO_TKIPMIC | + IEEE80211_CRYPTO_TKIP; + bands = 0; setbit(&bands, IEEE80211_MODE_11B); setbit(&bands, IEEE80211_MODE_11G); -- cgit v1.1