#include "interface.h"
#include "wireless.h"
#include "proto.h"
+#include "extdev.h"
unsigned int debug_mask = 0;
const char *main_path = DEFAULT_MAIN_PATH;
static void
netifd_delete_process(struct netifd_process *proc)
{
+ while (ustream_poll(&proc->log.stream));
list_del(&proc->list);
ustream_free(&proc->log.stream);
close(proc->log.fd.fd);
struct netifd_process *np;
np = container_of(proc, struct netifd_process, uloop);
- while (ustream_poll(&np->log.stream));
netifd_delete_process(np);
return np->cb(np, ret);
}
}
proto_shell_init();
+ extdev_init();
wireless_init();
if (system_init()) {