Honouring current authmode setting. With this patch, my wi card can now

associate to an AP which uses shared WEP key authentication.

Tested with:	"ifconfig wi0 authmode shared"
Reviewed by:	imp, sam
This commit is contained in:
Tai-hwa Liang 2005-06-02 01:51:16 +00:00
parent ba5da2a06f
commit 566c1555c6

View File

@ -751,8 +751,10 @@ wi_init(void *arg)
}
/* Configure WEP. */
if (ic->ic_caps & IEEE80211_C_WEP)
if (ic->ic_caps & IEEE80211_C_WEP) {
sc->sc_cnfauthmode = ic->ic_bss->ni_authmode;
wi_write_wep(sc);
}
/* Set multicast filter. */
wi_write_multi(sc);