commit | 4a972f80a40584eb0f119a204f0eb6568b3368f2 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Tue Sep 16 23:21:56 2008 +0200 |
committer | Johannes Berg <johannes@sipsolutions.net> | Tue Sep 16 23:21:56 2008 +0200 |
tree | 0d11d9b3471b52ae90ae2ea6bd651a87139315ab | |
parent | 2bdb6bd17ab66261a80edd5a3612971efc42625e [diff] [blame] |
fix small bug in previous commit
diff --git a/iw.c b/iw.c index ce8240c..672c516 100644 --- a/iw.c +++ b/iw.c
@@ -275,7 +275,7 @@ if (argc == 0 || strcmp(*argv, "help") == 0) { usage(argv0); - goto out; + return 0; } err = nl80211_init(&nlstate); @@ -298,7 +298,6 @@ if (err < 0) fprintf(stderr, "command failed: %s (%d)\n", strerror(-err), err); - out: nl80211_cleanup(&nlstate); return err;