From: Luciano Coelho <luciano.coelho@xxxxxxxxx> These two patches fix a bug that Jouni found when running his hostap hwsim test scripts (ap_ht40_csa). The failure was caused by two different bugs which are fixed in this patchset. The first bug was that we were not using the secondary channel offset IE of beacons for the switch, but the offset of the current channel, which cause us to use the same offset. The second bug was that we were trying to switch at the exact time of the switch on the station side, which, because of the processing time, was causing us to be too late. Luciano Coelho (2): mac80211: use secondary channel offset IE also beacons during CSA mac80211: schedule the actual switch of the station before CSA count 0 net/mac80211/ibss.c | 2 +- net/mac80211/ieee80211_i.h | 3 +-- net/mac80211/mesh.c | 2 +- net/mac80211/mlme.c | 5 +++-- net/mac80211/spectmgmt.c | 18 ++++++------------ 5 files changed, 12 insertions(+), 18 deletions(-) -- 2.1.1 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html