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:
parent
ba5da2a06f
commit
566c1555c6
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user