Module Name:    src
Committed By:   nonaka
Date:           Mon Jan 18 02:45:05 UTC 2016

Modified Files:
        src/sys/dev/usb: if_urtwn.c

Log Message:
Use correct register definition.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/dev/usb/if_urtwn.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/if_urtwn.c
diff -u src/sys/dev/usb/if_urtwn.c:1.40 src/sys/dev/usb/if_urtwn.c:1.41
--- src/sys/dev/usb/if_urtwn.c:1.40	Sun Jan 17 22:32:09 2016
+++ src/sys/dev/usb/if_urtwn.c	Mon Jan 18 02:45:05 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_urtwn.c,v 1.40 2016/01/17 22:32:09 christos Exp $	*/
+/*	$NetBSD: if_urtwn.c,v 1.41 2016/01/18 02:45:05 nonaka Exp $	*/
 /*	$OpenBSD: if_urtwn.c,v 1.42 2015/02/10 23:25:46 mpi Exp $	*/
 
 /*-
@@ -23,7 +23,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.40 2016/01/17 22:32:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.41 2016/01/18 02:45:05 nonaka Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -4562,7 +4562,7 @@ urtwn_chip_stop(struct urtwn_softc *sc)
 
 	reg = urtwn_read_2(sc, R92C_GPIO_MUXCFG + 2) & ~0x00f0;
 	reg |= (((reg & 0x000f) << 4) | 0x0780);
-	urtwn_write_2(sc, R92C_GPIO_PIN_MUXCFG + 2, reg);
+	urtwn_write_2(sc, R92C_GPIO_MUXCFG + 2, reg);
 
 	/* Disable LED0 & 1 */
 	urtwn_write_2(sc, R92C_LEDCFG0, 0x8080);

Reply via email to