diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2005-04-02 10:37:02 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2005-04-02 10:37:02 +0000 |
commit | 0c88c422673c6b1466cbd207033c30c5f3b255dc (patch) | |
tree | baef771edba18c8cc9f5b0412bf2fb4e3a99fc33 /sys | |
parent | 3bcc0917f567da370590a7a08270c2b151dec866 (diff) |
set the bssid in hostap mode too.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/ral.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ic/ral.c b/sys/dev/ic/ral.c index 5c7a29ecec0..f5f7488dce0 100644 --- a/sys/dev/ic/ral.c +++ b/sys/dev/ic/ral.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ral.c,v 1.46 2005/04/02 10:36:18 damien Exp $ */ +/* $OpenBSD: ral.c,v 1.47 2005/04/02 10:37:01 damien Exp $ */ /*- * Copyright (c) 2005 @@ -909,8 +909,7 @@ ral_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg) case IEEE80211_S_RUN: if (ic->ic_opmode != IEEE80211_M_MONITOR) { - if (ic->ic_opmode != IEEE80211_M_HOSTAP) - ral_set_bssid(sc, ic->ic_bss->ni_bssid); + ral_set_bssid(sc, ic->ic_bss->ni_bssid); ral_update_slot(sc); } |