Lines Matching refs:s
44 struct sta_info *s; in ap_get_sta() local
46 s = hapd->sta_hash[STA_HASH(sta)]; in ap_get_sta()
47 while (s != NULL && os_memcmp(s->addr, sta, 6) != 0) in ap_get_sta()
48 s = s->hnext; in ap_get_sta()
49 return s; in ap_get_sta()
82 struct sta_info *s; in ap_sta_hash_del() local
84 s = hapd->sta_hash[STA_HASH(sta->addr)]; in ap_sta_hash_del()
85 if (s == NULL) return; in ap_sta_hash_del()
86 if (os_memcmp(s->addr, sta->addr, 6) == 0) { in ap_sta_hash_del()
87 hapd->sta_hash[STA_HASH(sta->addr)] = s->hnext; in ap_sta_hash_del()
91 while (s->hnext != NULL && in ap_sta_hash_del()
92 os_memcmp(s->hnext->addr, sta->addr, ETH_ALEN) != 0) in ap_sta_hash_del()
93 s = s->hnext; in ap_sta_hash_del()
94 if (s->hnext != NULL) in ap_sta_hash_del()
95 s->hnext = s->hnext->hnext; in ap_sta_hash_del()