Use correct register definition.

This commit is contained in:
nonaka 2016-01-18 02:45:05 +00:00
parent 43d951b258
commit af98b0b25e
1 changed files with 3 additions and 3 deletions

View File

@ -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);