diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2009-02-10 19:27:50 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2009-02-10 19:27:50 +0000 |
| commit | 330528331ccfa30d2ac7965e1e4fa4d7f8c060b2 (patch) | |
| tree | 54cbe869c13881e3d9e96dd76147db090dd6dc08 | |
| parent | a32ac9d3a94eba3f64c92a22a393b1cac2c2dbf9 (diff) | |
Notes
| -rw-r--r-- | sys/dev/ath/if_ath.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index dc981c4dd8c6..192521641b31 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -6093,6 +6093,8 @@ ath_setup_stationkey(struct ieee80211_node *ni) /* XXX locking? */ ni->ni_ucastkey.wk_keyix = keyix; ni->ni_ucastkey.wk_rxkeyix = rxkeyix; + /* NB: must mark device key to get called back on delete */ + ni->ni_ucastkey.wk_flags |= IEEE80211_KEY_DEVKEY; IEEE80211_ADDR_COPY(ni->ni_ucastkey.wk_macaddr, ni->ni_macaddr); /* NB: this will create a pass-thru key entry */ ath_keyset(sc, &ni->ni_ucastkey, vap->iv_bss); |
