Home
last modified time | relevance | path

Searched refs:old_key (Results 1 – 1 of 1) sorted by relevance

/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/
Dkey.c767 struct ieee80211_key *old_key; in ieee80211_key_link() local
783 old_key = key_mtx_dereference(sdata->local, sta->ptk[idx]); in ieee80211_key_link()
790 (old_key && old_key->conf.cipher != key->conf.cipher)) in ieee80211_key_link()
793 old_key = key_mtx_dereference(sdata->local, sta->gtk[idx]); in ieee80211_key_link()
795 old_key = key_mtx_dereference(sdata->local, sdata->keys[idx]); in ieee80211_key_link()
800 if (old_key && old_key->conf.cipher != key->conf.cipher) in ieee80211_key_link()
808 if (ieee80211_key_identical(sdata, old_key, key)) { in ieee80211_key_link()
820 ret = ieee80211_key_replace(sdata, sta, pairwise, old_key, key); in ieee80211_key_link()
824 ieee80211_key_destroy(old_key, delay_tailroom); in ieee80211_key_link()