Lines Matching defs:psk
187 const u8 *psk = hostapd_get_psk(hapd->conf, addr, prev_psk);
190 * returned psk which should not be returned again.
191 * logic list (all hostapd_get_psk; all sta->psk)
193 if (sta && sta->psk && !psk) {
195 psk = sta->psk->psk;
196 for (pos = sta->psk; pos; pos = pos->next) {
197 if (pos->psk == prev_psk) {
198 psk = pos->next ? pos->next->psk : NULL;
203 return psk;