Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2004 21:16:36 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 64840 for review
Message-ID:  <200411102116.iAALGatu049664@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=64840

Change 64840 by sam@sam_ebb on 2004/11/10 21:16:23

	fixup mib var rename

Affected files ...

.. //depot/projects/wifi/tools/tools/ath/80211debug.c#2 edit

Differences ...

==== //depot/projects/wifi/tools/tools/ath/80211debug.c#2 (text+ko) ====

@@ -38,7 +38,7 @@
 
 /*
  * 80211debug [-i interface] flags
- * (default interface is wlan0).
+ * (default interface is wlan.0).
  */
 #include <sys/types.h>
 
@@ -159,11 +159,7 @@
 #ifdef __linux__
 	snprintf(oid, sizeof(oid), "net.wlan%s.debug", ifname+3);
 #else
-#if 0
-	snprintf(oid, sizeof(oid), "dev.ath.%s.wlan0.debug", ifname+3);
-#else
-	snprintf(oid, sizeof(oid), "debug.ieee80211");
-#endif
+	snprintf(oid, sizeof(oid), "net.wlan.%s.debug", ifname+3);
 #endif
 	debuglen = sizeof(debug);
 	if (sysctlbyname(oid, &debug, &debuglen, NULL, 0) < 0)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411102116.iAALGatu049664>