Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb PR/50672: Andriy Voskoboinyk: fix write to the w...
details: https://anonhg.NetBSD.org/src/rev/30fa0cc509ec
branches: trunk
changeset: 342998:30fa0cc509ec
user: christos <christos%NetBSD.org@localhost>
date: Sun Jan 17 22:32:09 2016 +0000
description:
PR/50672: Andriy Voskoboinyk: fix write to the wrong register.
diffstat:
sys/dev/usb/if_urtwn.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r fbb1e2840304 -r 30fa0cc509ec sys/dev/usb/if_urtwn.c
--- a/sys/dev/usb/if_urtwn.c Sun Jan 17 17:49:55 2016 +0000
+++ b/sys/dev/usb/if_urtwn.c Sun Jan 17 22:32:09 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_urtwn.c,v 1.39 2015/12/10 14:28:04 leot Exp $ */
+/* $NetBSD: if_urtwn.c,v 1.40 2016/01/17 22:32:09 christos 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.39 2015/12/10 14:28:04 leot Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.40 2016/01/17 22:32:09 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -4562,7 +4562,7 @@
reg = urtwn_read_2(sc, R92C_GPIO_MUXCFG + 2) & ~0x00f0;
reg |= (((reg & 0x000f) << 4) | 0x0780);
- urtwn_write_2(sc, R92C_GPIO_PIN_CTRL+2, reg);
+ urtwn_write_2(sc, R92C_GPIO_PIN_MUXCFG + 2, reg);
/* Disable LED0 & 1 */
urtwn_write_2(sc, R92C_LEDCFG0, 0x8080);
Home |
Main Index |
Thread Index |
Old Index