summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2006-08-06 13:12:33 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2006-08-06 13:12:33 +0000
commitee095e9a6b7a55649fd27ed6697e8f1c4dbcc04b (patch)
treed43f5ed7dc9b5a27a339d495c8dc092ba50bf77d /sys/dev/pci
parent1a2f7ee12ba6a4476ff253ec7b3e356deade718d (diff)
endianness.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_wpi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_wpi.c b/sys/dev/pci/if_wpi.c
index 5394e0477e8..40297b7a6ba 100644
--- a/sys/dev/pci/if_wpi.c
+++ b/sys/dev/pci/if_wpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wpi.c,v 1.26 2006/08/06 12:51:09 damien Exp $ */
+/* $OpenBSD: if_wpi.c,v 1.27 2006/08/06 13:12:32 damien Exp $ */
/*-
* Copyright (c) 2006
@@ -1536,11 +1536,11 @@ wpi_tx_data(struct wpi_softc *sc, struct mbuf *m0, struct ieee80211_node *ni,
if (subtype == IEEE80211_FC0_SUBTYPE_ASSOC_REQ ||
subtype == IEEE80211_FC0_SUBTYPE_REASSOC_REQ)
- tx->timeout = 3;
+ tx->timeout = htole16(3);
else
- tx->timeout = 2;
+ tx->timeout = htole16(2);
} else
- tx->timeout = 0;
+ tx->timeout = htole16(0);
tx->rate = wpi_plcp_signal(rate);