[PATCH] net80211: Fix bss channel on CSA reception
Adrian Chadd
adrian at freebsd.org
Mon Jun 27 07:14:41 UTC 2011
That's not entirely correct; try this one:
Index: ieee80211_proto.c
===================================================================
--- ieee80211_proto.c (revision 223525)
+++ ieee80211_proto.c (working copy)
@@ -1509,9 +1509,12 @@
ic->ic_csa_newchan = NULL;
ic->ic_flags &= ~IEEE80211_F_CSAPENDING;
- TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next)
+ TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) {
+ /* XXX do all VAPs need this? */
+ vap->iv_bss->ni_chan = ic->ic_curchan;
if (vap->iv_state == IEEE80211_S_CSA)
ieee80211_new_state_locked(vap, IEEE80211_S_RUN, 0);
+ }
}
/*
More information about the freebsd-wireless
mailing list