Added a sanity check and more clean-ups.

This commit is contained in:
OBattler
2022-02-20 14:19:38 +01:00
parent 01e0609ab6
commit c19b06d404
4 changed files with 2 additions and 52 deletions

View File

@@ -338,8 +338,6 @@ net_pcap_close(void)
/* Tell the thread to terminate. */
if (poll_tid != NULL) {
network_busy(0);
/* Wait for the thread to finish. */
pcap_log("PCAP: waiting for thread to end...\n");
thread_wait_event(poll_state, -1);