diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2011-01-15 11:39:29 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2011-01-15 11:39:29 +0000 |
commit | f3deae6559d106482a7d6fbfa0273b12064b9807 (patch) | |
tree | 98d2f752aa1a98d5321d75506a7ca6cef5c4f687 /sys | |
parent | fcfbbfc6387afbccda07efd8a4a1080fa5cd64b1 (diff) |
carrier leakage calibration workaround for high temperature is not
applicable on AR9271.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/ar9285.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ic/ar9285.c b/sys/dev/ic/ar9285.c index 09bf591692e..8e98129ab34 100644 --- a/sys/dev/ic/ar9285.c +++ b/sys/dev/ic/ar9285.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar9285.c,v 1.17 2011/01/06 07:27:15 damien Exp $ */ +/* $OpenBSD: ar9285.c,v 1.18 2011/01/15 11:39:28 damien Exp $ */ /*- * Copyright (c) 2009-2010 Damien Bergamini <damien.bergamini@free.fr> @@ -664,6 +664,10 @@ ar9285_init_calib(struct athn_softc *sc, struct ieee80211_channel *c, if ((error = ar9285_cl_cal(sc, c, extc)) != 0) return (error); + /* Workaround for high temperature is not applicable on AR9271. */ + if (AR_SREV_9271(sc)) + return (0); + mask = 0; nclcs = 0; reg = AR_READ(sc, AR_PHY_TX_PWRCTRL7); |