MFC r203695, r203751

Fix spelling mistake and compile error.
This commit is contained in:
rpaulo 2010-02-26 20:25:30 +00:00
parent 066c6ee312
commit c9d1943ae9

View File

@ -622,7 +622,7 @@ ath_attach(u_int16_t devid, struct ath_softc *sc)
}
sc->sc_hasclrkey = ath_hal_ciphersupported(ah, HAL_CIPHER_CLR);
/*
* Check for multicast key sarch support.
* Check for multicast key search support.
*/
if (ath_hal_hasmcastkeysearch(sc->sc_ah) &&
!ath_hal_getmcastkeysearch(sc->sc_ah)) {
@ -2237,7 +2237,6 @@ ath_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *k,
"%s: bogus group key\n", __func__);
return 0;
}
*/
if (vap->iv_opmode != IEEE80211_M_HOSTAP ||
!(k->wk_flags & IEEE80211_KEY_GROUP) ||
!sc->sc_mcastkey) {