diff options
author | 2006-09-19 13:25:54 +0000 | |
---|---|---|
committer | 2006-09-19 13:25:54 +0000 | |
commit | 2c25b80df30cc14bb3db60c1db18b9a05563b44b (patch) | |
tree | 572d40d755b5a24cb6d4e6ab0fb3540c89765423 /sys/dev/ic/ath.c | |
parent | disable 11g mode for now (diff) | |
download | wireguard-openbsd-2c25b80df30cc14bb3db60c1db18b9a05563b44b.tar.xz wireguard-openbsd-2c25b80df30cc14bb3db60c1db18b9a05563b44b.zip |
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; |