summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2015-05-27 19:30:11 +0200
committerSlávek Banko <[email protected]>2015-05-27 19:30:41 +0200
commit41e2ebf28f52486ddb1df7282e68aba65c8e619b (patch)
tree0c06e7eaf92f67798a77e1ade023c848a3264d9f
parentb3fcd7f3f6b8c86009da9055af0fdcc3609a88f1 (diff)
downloadwlassistant-41e2ebf28f52486ddb1df7282e68aba65c8e619b.tar.gz
wlassistant-41e2ebf28f52486ddb1df7282e68aba65c8e619b.zip
Fix missing return
This resolves Bug 2439 Signed-off-by: François Andriot <[email protected]> (cherry picked from commit 887c7f409a5768b654f867a64dacdec98625454d)
-rw-r--r--src/watools.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/watools.cpp b/src/watools.cpp
index 5814274..252c791 100644
--- a/src/watools.cpp
+++ b/src/watools.cpp
@@ -192,6 +192,8 @@ int WATools::availableNetworks( const char* _ifname ) //returns a list of availa
i++;
} while (scan = scan->next);
printf( "WATools: Networks found: %i\n", i );
+
+ return i;
}