diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2010-04-30 16:08:37 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2010-04-30 16:08:37 +0000 |
commit | fc7cd3a3c8a423390698f8b8fc61af585f36a5ba (patch) | |
tree | 3e00547bdb8c2ca15297ae5e02edd394f79ac12a /sys/dev | |
parent | 34644739c1a40c2f7194a8d776349a74ee4da7da (diff) |
fix for 5GHz band.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_iwn.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <damien.bergamini@free.fr> @@ -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]; |