From fb1014d1ddb8ee13ebd7d835c66ad189bb17c822 Mon Sep 17 00:00:00 2001 From: nicowallmeier Date: Fri, 28 Nov 2003 18:34:55 +0000 Subject: [lcd4linux @ 2003-11-28 18:34:55 by nicowallmeier] Minor bugfixes git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@276 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- wifi.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'wifi.c') diff --git a/wifi.c b/wifi.c index 9a9b136..c1f6f05 100644 --- a/wifi.c +++ b/wifi.c @@ -1,4 +1,4 @@ -/* $Id: wifi.c,v 1.1 2003/11/14 05:59:37 reinelt Exp $ +/* $Id: wifi.c,v 1.2 2003/11/28 18:34:55 nicowallmeier Exp $ * * WIFI specific functions * @@ -25,6 +25,9 @@ * * * $Log: wifi.c,v $ + * Revision 1.2 2003/11/28 18:34:55 nicowallmeier + * Minor bugfixes + * * Revision 1.1 2003/11/14 05:59:37 reinelt * added wifi.c wifi.h which have been forgotten at the last checkin * @@ -62,13 +65,13 @@ typedef struct { int Wifi (int *signal, int *link, int *noise) { - *signal=0; - *link=0; - *noise=0; int ws, wl, wn; static int fd=-2; char buffer[4096]; char *p; + *signal=0; + *link=0; + *noise=0; if (fd==-1) return -1; if (fd==-2) { -- cgit v1.2.3