aboutsummaryrefslogtreecommitdiffstats
path: root/wifi.c
diff options
context:
space:
mode:
authorreinelt <>2004-01-09 04:16:06 +0000
committerreinelt <>2004-01-09 04:16:06 +0000
commitc8d1a94e34b59f94c8bf7af1a5dde282515a2e19 (patch)
tree97337d07d0693302ca3031d256bff023a4d18f82 /wifi.c
parent28ae14208cef01ae0ca6293b88968ec31bec855e (diff)
downloadlcd4linux-c8d1a94e34b59f94c8bf7af1a5dde282515a2e19.tar.gz
[lcd4linux @ 2004-01-09 04:16:06 by reinelt]
added 'section' argument to cfg_get(), but NULLed it on all calls by now.
Diffstat (limited to 'wifi.c')
-rw-r--r--wifi.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/wifi.c b/wifi.c
index 5984504..40958e7 100644
--- a/wifi.c
+++ b/wifi.c
@@ -1,4 +1,4 @@
-/* $Id: wifi.c,v 1.4 2004/01/06 22:33:14 reinelt Exp $
+/* $Id: wifi.c,v 1.5 2004/01/09 04:16:06 reinelt Exp $
*
* WIFI specific functions
*
@@ -25,6 +25,9 @@
*
*
* $Log: wifi.c,v $
+ * Revision 1.5 2004/01/09 04:16:06 reinelt
+ * added 'section' argument to cfg_get(), but NULLed it on all calls by now.
+ *
* Revision 1.4 2004/01/06 22:33:14 reinelt
* Copyright statements cleaned up
*
@@ -75,7 +78,7 @@ int Wifi (int *signal, int *link, int *noise)
char buffer[4096];
char *p;
- char *interface=cfg_get("Wifi.Interface","wlan0");
+ char *interface=cfg_get(NULL, "Wifi.Interface", "wlan0");
*signal=0;
*link=0;