summaryrefslogtreecommitdiff
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
authorLuciano Coelho <luciano.coelho@intel.com>2014-10-28 14:33:05 +0300
committerJohannes Berg <johannes.berg@intel.com>2014-10-29 18:37:54 +0300
commitff1e417c7c239b7abfe70aa90460a77eaafc7f83 (patch)
treea7c00c2ba1b3414a48f75c7ebc1a6db54d11eb76 /net/mac80211/iface.c
parent84469a45a1bedec9918e94ab2f78c5dc0739e4a7 (diff)
downloadlinux-ff1e417c7c239b7abfe70aa90460a77eaafc7f83.tar.xz
mac80211: schedule the actual switch of the station before CSA count 0
Due to the time it takes to process the beacon that started the CSA process, we may be late for the switch if we try to reach exactly beacon 0. To avoid that, use count - 1 when calculating the switch time. Cc: stable@vger.kernel.org Reported-by: Jouni Malinen <j@w1.fi> Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/iface.c')
0 files changed, 0 insertions, 0 deletions