diff options
author | 2011-01-15 11:39:28 +0000 | |
---|---|---|
committer | 2011-01-15 11:39:28 +0000 | |
commit | 42efdd232f8c58d41579d0236e72b7e6a41c2c28 (patch) | |
tree | a3128497ced84f93fed6bea3ab4ae320a4fdb0b5 | |
parent | Fix multicast handling (diff) | |
download | wireguard-openbsd-42efdd232f8c58d41579d0236e72b7e6a41c2c28.tar.xz wireguard-openbsd-42efdd232f8c58d41579d0236e72b7e6a41c2c28.zip |
carrier leakage calibration workaround for high temperature is not
applicable on AR9271.
-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); |