diff options
| author | Andriy Voskoboinyk <avos@FreeBSD.org> | 2016-12-07 22:16:07 +0000 |
|---|---|---|
| committer | Andriy Voskoboinyk <avos@FreeBSD.org> | 2016-12-07 22:16:07 +0000 |
| commit | 4a19d712383190c461ebfba2d9b97f756ba9b5d1 (patch) | |
| tree | f2842e3d32c4becfa0be2dd4985c58d2b37f4810 /sys/dev/ath | |
| parent | b594081bdf2a6593a8a1f9435b1278b20ffd2393 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ath')
| -rw-r--r-- | sys/dev/ath/if_ath_keycache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath_keycache.c b/sys/dev/ath/if_ath_keycache.c index ff1df8463e01..308a7f6c9847 100644 --- a/sys/dev/ath/if_ath_keycache.c +++ b/sys/dev/ath/if_ath_keycache.c @@ -449,7 +449,8 @@ ath_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *k, * have no way to check if they've already * been allocated. */ - *keyix = *rxkeyix = k - vap->iv_nw_keys; + *keyix = *rxkeyix = + ieee80211_crypto_get_key_wepidx(vap, k); return 1; } /* |
