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/mwl | |
parent | b594081bdf2a6593a8a1f9435b1278b20ffd2393 (diff) | |
download | src-test2-4a19d712383190c461ebfba2d9b97f756ba9b5d1.tar.gz src-test2-4a19d712383190c461ebfba2d9b97f756ba9b5d1.zip |
Notes
Diffstat (limited to 'sys/dev/mwl')
-rw-r--r-- | sys/dev/mwl/if_mwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mwl/if_mwl.c b/sys/dev/mwl/if_mwl.c index f9307341a63c..1027eb0524db 100644 --- a/sys/dev/mwl/if_mwl.c +++ b/sys/dev/mwl/if_mwl.c @@ -1529,7 +1529,7 @@ mwl_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *k, return 0; } /* give the caller what they requested */ - *keyix = *rxkeyix = k - vap->iv_nw_keys; + *keyix = *rxkeyix = ieee80211_crypto_get_key_wepidx(vap, k); } else { /* * Firmware handles key allocation. |