summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2005-04-01 11:21:29 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2005-04-01 11:21:29 +0000
commit40e622a7c0ddde77c56578f7631fef245b0a7bb9 (patch)
tree17b6b415f803531d896a4d59ab41e62ad90e8a59 /sys/dev/ic
parentd94eaf3e6a25dc49729fb0497cd44fc051b5f73e (diff)
call ral_set_chan() on transition to state IEEE80211_S_ASSOC to make sure
we disable RF auto-tuning.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/ral.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/ral.c b/sys/dev/ic/ral.c
index c0b31a60ab9..1ea7c27ec01 100644
--- a/sys/dev/ic/ral.c
+++ b/sys/dev/ic/ral.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ral.c,v 1.43 2005/04/01 11:12:56 damien Exp $ */
+/* $OpenBSD: ral.c,v 1.44 2005/04/01 11:21:28 damien Exp $ */
/*-
* Copyright (c) 2005
@@ -904,6 +904,7 @@ ral_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg)
break;
case IEEE80211_S_ASSOC:
+ ral_set_chan(sc, ic->ic_bss->ni_chan);
break;
case IEEE80211_S_RUN: