From 80bd92a170a5645f7796369a96b56e91fd0edc83 Mon Sep 17 00:00:00 2001 From: rpaulo Date: Sun, 14 Jul 2013 18:26:47 +0000 Subject: Revert r252725 as it breaks WPA. We need to fix wpa_supplicant because it checks whether the card has ic_cryptocaps set. Since net80211 can do software encryption this check in wpa_supplicant is wrong. --- sys/dev/usb/wlan/if_uath.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sys/dev/usb/wlan/if_uath.c') diff --git a/sys/dev/usb/wlan/if_uath.c b/sys/dev/usb/wlan/if_uath.c index 76bd02b..f238d0d 100644 --- a/sys/dev/usb/wlan/if_uath.c +++ b/sys/dev/usb/wlan/if_uath.c @@ -457,12 +457,6 @@ 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; -- cgit v1.1