From fc7cd3a3c8a423390698f8b8fc61af585f36a5ba Mon Sep 17 00:00:00 2001 From: Damien Bergamini Date: Fri, 30 Apr 2010 16:08:37 +0000 Subject: fix for 5GHz band. --- sys/dev/pci/if_iwn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/pci/if_iwn.c b/sys/dev/pci/if_iwn.c index 554fa39e2f0..1465d04a404 100644 --- a/sys/dev/pci/if_iwn.c +++ b/sys/dev/pci/if_iwn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwn.c,v 1.90 2010/04/30 16:06:46 damien Exp $ */ +/* $OpenBSD: if_iwn.c,v 1.91 2010/04/30 16:08:36 damien Exp $ */ /*- * Copyright (c) 2007-2010 Damien Bergamini @@ -4253,7 +4253,7 @@ iwn_scan(struct iwn_softc *sc, uint16_t flags) tx->lifetime = htole32(IWN_LIFETIME_INFINITE); if (flags & IEEE80211_CHAN_5GHZ) { - hdr->crc_threshold = htole16(1); + hdr->crc_threshold = 0xffff; /* Send probe requests at 6Mbps. */ tx->plcp = iwn_rates[IWN_RIDX_OFDM6].plcp; rs = &ic->ic_sup_rates[IEEE80211_MODE_11A]; -- cgit v1.2.3