]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
hostapd: Fix a typo in function name
authorJouni Malinen <j@w1.fi>
Wed, 2 Jan 2019 14:40:34 +0000 (16:40 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 2 Jan 2019 14:40:34 +0000 (16:40 +0200)
This was supposed to use "hostapd_" prefix.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/neighbor_db.c
src/ap/neighbor_db.h
src/ap/rrm.c

index b8fd5924b88935ed3f57003b2aee86e6d650bb58..b1f35a4d1fc7949147257c2bb01f8ee89f777d1e 100644 (file)
@@ -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;
 
index ba46d88435e56a7280e3417c469030ae496020dd..a0f66895bde93f6cadae6f849de6bbc05108631c 100644 (file)
@@ -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 */
index 56ed29c1c06875faa5050db74e2739e25d9f7fa2..f2d5cd16e885853c445d19c3ed4afbd5a94d6f50 100644 (file)
@@ -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);