make neigh detection more stable and remove wifi handling

Signed-off-by: John Crispin <[email protected]>
This commit is contained in:
John Crispin
2021-02-01 16:08:56 +01:00
parent d93583f7c8
commit 5ca087499e
6 changed files with 1 additions and 592 deletions
-9
View File
@@ -28,7 +28,6 @@ mac_find(uint8_t *addr)
*mac->interface = '\0';
INIT_LIST_HEAD(&mac->neigh4);
INIT_LIST_HEAD(&mac->neigh6);
INIT_LIST_HEAD(&mac->wifi);
INIT_LIST_HEAD(&mac->dhcpv4);
INIT_LIST_HEAD(&mac->bridge_mac);
@@ -88,14 +87,6 @@ mac_dump(struct mac *mac, int interface)
blobmsg_close_array(&b, d);
}
if (!list_empty(&mac->wifi)) {
struct wifi_station *sta;
sta = list_first_entry(&mac->wifi, struct wifi_station, mac);
blobmsg_add_field(&b, BLOBMSG_TYPE_TABLE, "wifi",
blobmsg_data(sta->info), blobmsg_data_len(sta->info));
}
if (!list_empty(&mac->dhcpv4)) {
struct dhcpv4 *dhcpv4;