From ee095e9a6b7a55649fd27ed6697e8f1c4dbcc04b Mon Sep 17 00:00:00 2001 From: Damien Bergamini Date: Sun, 6 Aug 2006 13:12:33 +0000 Subject: endianness. --- sys/dev/pci/if_wpi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys') 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); -- cgit v1.2.3