Lines Matching refs:new
188 struct ieee80211_key *new)
192 if (new)
193 list_add(&new->list, &sdata->key_list);
196 rcu_assign_pointer(sta->key, new);
198 WARN_ON(new && old && new->conf.keyidx != old->conf.keyidx);
203 idx = new->conf.keyidx;
208 if (defkey && !new)
210 if (defmgmtkey && !new)
213 rcu_assign_pointer(sdata->keys[idx], new);
214 if (defkey && new)
215 __ieee80211_set_default_key(sdata, new->conf.keyidx);
216 if (defmgmtkey && new)
218 new->conf.keyidx);