From 9cf439115934c963d9e4ac3cc05a5ba68673ccc4 Mon Sep 17 00:00:00 2001 From: rink Date: Tue, 13 Nov 2007 16:12:59 +0000 Subject: Remove the IEEE80211_C_WEP capability flag - setting it makes net80211 expect that the driver will handle WEP encryption. However, this does not seem to be implemented by this driver (or maybe the chipset doesn't support it?) Removing the flag makes my wpi card work using wpa_supplicant(8) on a network with 802.1x security (without this change it authenticated fine, but tcpdump only saw garbage packets) Reviewed by: benjsc, imp (mentor) Approved by: imp (mentor), sam --- sys/dev/wpi/if_wpi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/dev/wpi') diff --git a/sys/dev/wpi/if_wpi.c b/sys/dev/wpi/if_wpi.c index ea35df0..d2ae17f 100644 --- a/sys/dev/wpi/if_wpi.c +++ b/sys/dev/wpi/if_wpi.c @@ -663,8 +663,7 @@ wpi_attach(device_t dev) /* set device capabilities */ ic->ic_caps = - IEEE80211_C_WEP /* s/w WEP */ - | IEEE80211_C_MONITOR /* monitor mode supported */ + IEEE80211_C_MONITOR /* monitor mode supported */ | IEEE80211_C_TXPMGT /* tx power management */ | IEEE80211_C_SHSLOT /* short slot time supported */ | IEEE80211_C_SHPREAMBLE /* short preamble supported */ -- cgit v1.1