diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2010-02-03 17:51:12 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2010-02-03 17:51:12 +0000 |
commit | 30e1e9b675692c897c5a565e2e386b3c7b72329a (patch) | |
tree | e104cf5fe2395053ce74ff045d0ed3873f5f04fc /sys/dev | |
parent | 0d2ff4837950fc1d362f1dad3407105b8a004748 (diff) |
init ofdm sensitivity with min value (which depends on the chip)
instead of hardcoding it to 90.
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 366cc6ae511..0d3108bb367 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.84 2010/02/02 17:06:53 damien Exp $ */ +/* $OpenBSD: if_iwn.c,v 1.85 2010/02/03 17:51:11 damien Exp $ */ /*- * Copyright (c) 2007-2009 Damien Bergamini <damien.bergamini@free.fr> @@ -3683,7 +3683,7 @@ iwn_init_sensitivity(struct iwn_softc *sc) /* Set initial correlation values. */ calib->ofdm_x1 = sc->limits->min_ofdm_x1; calib->ofdm_mrc_x1 = sc->limits->min_ofdm_mrc_x1; - calib->ofdm_x4 = 90; + calib->ofdm_x4 = sc->limits->min_ofdm_x4; calib->ofdm_mrc_x4 = sc->limits->min_ofdm_mrc_x4; calib->cck_x4 = 125; calib->cck_mrc_x4 = sc->limits->min_cck_mrc_x4; |