From 40e622a7c0ddde77c56578f7631fef245b0a7bb9 Mon Sep 17 00:00:00 2001 From: Damien Bergamini Date: Fri, 1 Apr 2005 11:21:29 +0000 Subject: call ral_set_chan() on transition to state IEEE80211_S_ASSOC to make sure we disable RF auto-tuning. --- sys/dev/ic/ral.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3