aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2024-12-31 22:45:52 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2024-12-31 22:45:52 +0000
commitcbc331d153cf07ab73217666cfd045d28b31bc00 (patch)
tree9f54eacb3ab489f21e17dca566cdb2fe5bad50c1
parentaa178783710f31e3f421065bc17a701abbaf9a18 (diff)
rtwn: fix builds on non-x86 platforms
The powerpcspe build is spitting out uint64_t != unsigned long, so this fails. Comment out the logging for now to unbreak the build.
-rw-r--r--sys/dev/rtwn/rtl8188e/r88e_rx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/rtwn/rtl8188e/r88e_rx.c b/sys/dev/rtwn/rtl8188e/r88e_rx.c
index 2ff0ee4dae00..7ea7b2f9e496 100644
--- a/sys/dev/rtwn/rtl8188e/r88e_rx.c
+++ b/sys/dev/rtwn/rtl8188e/r88e_rx.c
@@ -257,8 +257,10 @@ r88e_ratectl_tx_complete_periodic(struct rtwn_softc *sc, uint8_t *buf,
mac_bitmap = ((uint64_t) le32toh(rxs->tsf_low) << 32)
| le32toh(rxs->rxdw4);
+#if 0
RTWN_DPRINTF(sc, RTWN_DEBUG_RA,
"%s: mac bitmap: 0x%lx\n", __func__, mac_bitmap);
+#endif
/*
* Note: the RX reports aren't sparse - invalid entries (ie,