diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2005-04-02 11:00:12 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2005-04-02 11:00:12 +0000 |
commit | 7ce7d423133146945187305d90b2b4bf9cdb332f (patch) | |
tree | 41035c528104bd739df869cce2515891a3b9af6f /sys | |
parent | cc1ab97c85f61a786cd200e9dad77e4c5f471d72 (diff) |
sync with ral. fixes hostap mode.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/if_ral.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/usb/if_ral.c b/sys/dev/usb/if_ral.c index 401941ce25d..cb6e95e3c78 100644 --- a/sys/dev/usb/if_ral.c +++ b/sys/dev/usb/if_ral.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ral.c,v 1.22 2005/04/01 13:13:42 damien Exp $ */ +/* $OpenBSD: if_ral.c,v 1.23 2005/04/02 11:00:11 damien Exp $ */ /*- * Copyright (c) 2005 @@ -715,8 +715,9 @@ ural_task(void *arg) break; case IEEE80211_S_RUN: - if (ic->ic_opmode != IEEE80211_M_MONITOR && - ic->ic_opmode != IEEE80211_M_HOSTAP) + ural_set_chan(sc, ic->ic_bss->ni_chan); + + if (ic->ic_opmode != IEEE80211_M_MONITOR) ural_set_bssid(sc, ic->ic_bss->ni_bssid); if (ic->ic_opmode == IEEE80211_M_HOSTAP || |