from Idwer Vollering <vid...@gmail.com>:

I have a patch for that:

Index: head/sys/dev/usb/wlan/if_rsu.c
===================================================================
--- head/sys/dev/usb/wlan/if_rsu.c      (revision 266970)
+++ head/sys/dev/usb/wlan/if_rsu.c      (working copy)
@@ -69,11 +69,13 @@

 #include <dev/usb/wlan/if_rsureg.h>

+static SYSCTL_NODE(_hw_usb, OID_AUTO, rsu, CTLFLAG_RW, 0, "USB rsu");
+
 #ifdef USB_DEBUG
-static int rsu_debug = 0;
-SYSCTL_NODE(_hw_usb, OID_AUTO, rsu, CTLFLAG_RW, 0, "USB rsu");
-SYSCTL_INT(_hw_usb_rsu, OID_AUTO, debug, CTLFLAG_RW, &rsu_debug, 0,
+int rsu_debug = 0;
+SYSCTL_INT(_hw_usb_rsu, OID_AUTO, debug, CTLFLAG_RW | CTLFLAG_TUN,
&rsu_debug, 0,
     "Debug level");
+TUNABLE_INT("hw.usb.rsu.debug", &rsu_debug);
 #endif

 static const STRUCT_USB_HOST_ID rsu_devs[] = {
@@ -1284,7 +1286,7 @@
                DPRINTF("WPS PBC pushed.\n");
                break;
        case R92S_EVT_FWDBG:
-               if (ifp->if_flags & IFF_DEBUG) {
+               if (rsu_debug >= 6) {
                        buf[60] = '\0';
                        printf("FWDBG: %s\n", (char *)buf);
                }

(end of quote)

I do not put "> " in front of these lines for quoting here.

Patch failed to apply, something was malformed.

I have no directory named head, but even removing that left errors.

I suppose I could look through original file and patch, and manually make the 
changes with vi.  Should I try that?  I am already long overdue for bed.

Anyway, I have other stuff to do on computer, including NetBSD-current amd64 
and i386 installations on USB sticks, plan to install on new hard drive as well.

I'll be more inclined to come back when cups 1.7.3 becomes available in ports 
tree.  I need to be able to print.  Maybe NetBSD will be mainly a way station 
for cross-compiling Linux?

Now FreeBSD 11-current amd64 betrays me again as I lost the wireless connection 
and have to boot into my FreeBSD 10-stable amd64 or i386 installation or 
NetBSD-head amd64.

Tom

_______________________________________________
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to