1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

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
This commit is contained in:
Rink Springer 2007-11-13 16:12:59 +00:00
parent 2058844493
commit c7fca64fe1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173585

View File

@ -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 */