|
Lines 2223-2228
Link Here
|
| 2223 |
{ |
2223 |
{ |
| 2224 |
struct ath_softc *sc = vap->iv_ic->ic_ifp->if_softc; |
2224 |
struct ath_softc *sc = vap->iv_ic->ic_ifp->if_softc; |
| 2225 |
|
2225 |
|
|
|
2226 |
/* Station mode? Don't use the group keys for AES/CCMP */ |
| 2227 |
if (vap->iv_opmode == IEEE80211_M_STA && sc->sc_mcastkey && k->wk_cipher->ic_cipher == IEEE80211_CIPHER_AES_CCM) { |
| 2228 |
return key_alloc_single(sc, keyix, rxkeyix); |
| 2229 |
} |
| 2230 |
|
| 2226 |
/* |
2231 |
/* |
| 2227 |
* Group key allocation must be handled specially for |
2232 |
* Group key allocation must be handled specially for |
| 2228 |
* parts that do not support multicast key cache search |
2233 |
* parts that do not support multicast key cache search |