summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-16 01:35:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-16 01:35:54 +0000
commitcb5d634e636272f6bec0e7d22a99e1217318f896 (patch)
treed11789156af11323a058c38ff2f96df10ed9124f /sys/dev/ic
parentfcccf1df33c7633265f540124d1513023bf1fad4 (diff)
cast pointer to right type
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/rt2860.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/rt2860.c b/sys/dev/ic/rt2860.c
index 42245a7be3a..a09edfd907d 100644
--- a/sys/dev/ic/rt2860.c
+++ b/sys/dev/ic/rt2860.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rt2860.c,v 1.1 2007/11/15 21:15:34 damien Exp $ */
+/* $OpenBSD: rt2860.c,v 1.2 2007/11/16 01:35:53 deraadt Exp $ */
/*-
* Copyright (c) 2007
@@ -2644,7 +2644,7 @@ rt2860_setup_beacon(struct rt2860_softc *sc)
txwi.txop = RT2860_TX_TXOP_HT;
txwi.flags = RT2860_TX_TS;
- RAL_WRITE_REGION_1(sc, RT2860_BCN_BASE(0), &txwi, 16);
+ RAL_WRITE_REGION_1(sc, RT2860_BCN_BASE(0), (u_int8_t *)&txwi, 16);
RAL_WRITE_REGION_1(sc, RT2860_BCN_BASE(0) + 16,
mtod(m, uint8_t *), m->m_pkthdr.len);