diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2013-07-14 18:26:47 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2013-07-14 18:26:47 +0000 |
commit | 80bd92a170a5645f7796369a96b56e91fd0edc83 (patch) | |
tree | 43ff892cf68a6dca7ce559d452bae1f33ac9cbba /sys/dev/usb/wlan/if_upgt.c | |
parent | 9ea6fe9fbe3f7fe6bb134bf6e50b6678662f4075 (diff) | |
download | FreeBSD-src-80bd92a170a5645f7796369a96b56e91fd0edc83.zip FreeBSD-src-80bd92a170a5645f7796369a96b56e91fd0edc83.tar.gz |
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.
Diffstat (limited to 'sys/dev/usb/wlan/if_upgt.c')
-rw-r--r-- | sys/dev/usb/wlan/if_upgt.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/usb/wlan/if_upgt.c b/sys/dev/usb/wlan/if_upgt.c index fb4d619..eff7922 100644 --- a/sys/dev/usb/wlan/if_upgt.c +++ b/sys/dev/usb/wlan/if_upgt.c @@ -353,12 +353,6 @@ upgt_attach(device_t dev) | 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); |