PERFORCE change 64840 for review

Sam Leffler sam at FreeBSD.org
Wed Nov 10 13:16:37 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=64840

Change 64840 by sam at 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)


More information about the p4-projects mailing list