summaryrefslogtreecommitdiff
path: root/sbin/ancontrol/ancontrol.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-06-06 17:25:17 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-06-06 17:25:17 +0000
commit5ba602872716d9b96cdc1c8af7c7cea8e5e1ed61 (patch)
tree3812fefb51ad5a15c77f5458d76809101e30815d /sbin/ancontrol/ancontrol.c
parentf5e8c5f717ed2153e7ca9491d5a7c812447aeae3 (diff)
print normalized signal strength; from Gabriel Kihlman <gk@univits.se>
Diffstat (limited to 'sbin/ancontrol/ancontrol.c')
-rw-r--r--sbin/ancontrol/ancontrol.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/ancontrol/ancontrol.c b/sbin/ancontrol/ancontrol.c
index c78f1462bd3..c52a3147f13 100644
--- a/sbin/ancontrol/ancontrol.c
+++ b/sbin/ancontrol/ancontrol.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ancontrol.c,v 1.19 2002/02/16 21:27:32 millert Exp $ */
+/* $OpenBSD: ancontrol.c,v 1.20 2002/06/06 17:25:16 mickey Exp $ */
/*
* Copyright (c) 2001 Eric Jackson <ericj@monkey.org>
*
@@ -265,6 +265,7 @@ an_dumpstatus()
printf("]\n");
printf("Error code:\t\t");
an_printhex((char *)&sts->an_errcode, 1);
+ printf("\nSignal strength:\t[ %d%% ]",sts->an_normalized_rssi);
printf("\nSignal quality:\t\t");
an_printhex((char *)&sts->an_cur_signal_quality, 1);
printf("\nCurrent SSID:\t\t");