From 3844ca20495304c8c0571eaa631cb570dfdb13ff Mon Sep 17 00:00:00 2001 From: Gregor Best Date: Sun, 6 Aug 2017 14:52:35 +0200 Subject: [PATCH] Remove now useless dump --- wireless.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/wireless.c b/wireless.c index 6ed6f7b..7f2fab2 100644 --- a/wireless.c +++ b/wireless.c @@ -321,19 +321,6 @@ main(int argc, char **argv) { errx(1, "No device specified"); } - if (cnf->debug) { - struct network *n; - - fprintf(stderr, "Configured networks:\n"); - - TAILQ_FOREACH(n, &cnf->networks, networks) { - fprintf(stderr, "\"%s\"", n->nwid); - if (n->type == NW_WPA2) - fprintf(stderr, " \"%s\"", n->wpakey); - fprintf(stderr, "\n"); - } - } - memset(nr, 0x00, ARRAY_SIZE(nr)); numnodes = scan(cnf, nr, ARRAY_SIZE(nr));