diff --git a/src/ap/neighbor_db.c b/src/ap/neighbor_db.c index b8fd5924b..b1f35a4d1 100644 --- a/src/ap/neighbor_db.c +++ b/src/ap/neighbor_db.c @@ -123,7 +123,7 @@ int hostapd_neighbor_remove(struct hostapd_data *hapd, const u8 *bssid, } -void hostpad_free_neighbor_db(struct hostapd_data *hapd) +void hostapd_free_neighbor_db(struct hostapd_data *hapd) { struct hostapd_neighbor_entry *nr, *prev; diff --git a/src/ap/neighbor_db.h b/src/ap/neighbor_db.h index ba46d8843..a0f66895b 100644 --- a/src/ap/neighbor_db.h +++ b/src/ap/neighbor_db.h @@ -19,6 +19,6 @@ int hostapd_neighbor_set(struct hostapd_data *hapd, const u8 *bssid, const struct wpabuf *civic, int stationary); int hostapd_neighbor_remove(struct hostapd_data *hapd, const u8 *bssid, const struct wpa_ssid_value *ssid); -void hostpad_free_neighbor_db(struct hostapd_data *hapd); +void hostapd_free_neighbor_db(struct hostapd_data *hapd); #endif /* NEIGHBOR_DB_H */ diff --git a/src/ap/rrm.c b/src/ap/rrm.c index 56ed29c1c..f2d5cd16e 100644 --- a/src/ap/rrm.c +++ b/src/ap/rrm.c @@ -558,7 +558,7 @@ int hostapd_send_range_req(struct hostapd_data *hapd, const u8 *addr, void hostapd_clean_rrm(struct hostapd_data *hapd) { - hostpad_free_neighbor_db(hapd); + hostapd_free_neighbor_db(hapd); eloop_cancel_timeout(hostapd_lci_rep_timeout_handler, hapd, NULL); hapd->lci_req_active = 0; eloop_cancel_timeout(hostapd_range_rep_timeout_handler, hapd, NULL);