diff options
author | rink <rink@FreeBSD.org> | 2007-11-13 16:12:59 +0000 |
---|---|---|
committer | rink <rink@FreeBSD.org> | 2007-11-13 16:12:59 +0000 |
commit | 9cf439115934c963d9e4ac3cc05a5ba68673ccc4 (patch) | |
tree | 32aeb32f8e4c2773a807f7119a2b67ac5856b520 | |
parent | 243c15922e80e6b88947bd58974b7e7c3e74414c (diff) | |
download | FreeBSD-src-9cf439115934c963d9e4ac3cc05a5ba68673ccc4.zip FreeBSD-src-9cf439115934c963d9e4ac3cc05a5ba68673ccc4.tar.gz |
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
-rw-r--r-- | sys/dev/wpi/if_wpi.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 */ |