summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ral.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/ral.c')
-rw-r--r--sys/dev/ic/ral.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/ral.c b/sys/dev/ic/ral.c
index f5f7488dce0..5d4b5eaaf69 100644
--- a/sys/dev/ic/ral.c
+++ b/sys/dev/ic/ral.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ral.c,v 1.47 2005/04/02 10:37:01 damien Exp $ */
+/* $OpenBSD: ral.c,v 1.48 2005/04/02 10:53:03 damien Exp $ */
/*-
* Copyright (c) 2005
@@ -908,6 +908,8 @@ ral_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg)
break;
case IEEE80211_S_RUN:
+ ral_set_chan(sc, ic->ic_bss->ni_chan);
+
if (ic->ic_opmode != IEEE80211_M_MONITOR) {
ral_set_bssid(sc, ic->ic_bss->ni_bssid);
ral_update_slot(sc);