diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-09-19 13:25:55 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-09-19 13:25:55 +0000 |
commit | 61033a20e0c1eb37d3d00fc843bf6b41b9a0f1bd (patch) | |
tree | f583924f3618bdfe9c0079d126be15cfdb112643 /sys/dev/ic/ath.c | |
parent | d86e6c3bcbfeb0eb2e3bbab74e77a03f841d5b83 (diff) |
use the correct antenna mode settings and fix a bug in the tx
descriptor setup. this will fix various issues including 11a mode with
ar5212.
Diffstat (limited to 'sys/dev/ic/ath.c')
-rw-r--r-- | sys/dev/ic/ath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ath.c b/sys/dev/ic/ath.c index a631394a1e5..eddf1fd0447 100644 --- a/sys/dev/ic/ath.c +++ b/sys/dev/ic/ath.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ath.c,v 1.52 2006/06/23 21:53:01 reyk Exp $ */ +/* $OpenBSD: ath.c,v 1.53 2006/09/19 13:25:54 reyk Exp $ */ /* $NetBSD: ath.c,v 1.37 2004/08/18 21:59:39 dyoung Exp $ */ /*- @@ -725,7 +725,7 @@ ath_init1(struct ath_softc *sc) */ hchan.channel = ic->ic_ibss_chan->ic_freq; hchan.channelFlags = ath_chan2flags(ic, ic->ic_ibss_chan); - if (!ath_hal_reset(ah, ic->ic_opmode, &hchan, AH_FALSE, &status)) { + if (!ath_hal_reset(ah, ic->ic_opmode, &hchan, AH_TRUE, &status)) { printf("%s: unable to reset hardware; hal status %u\n", ifp->if_xname, status); error = EIO; |