From: Luciano Coelho Date: Tue, 28 Oct 2014 11:33:05 +0000 (+0200) Subject: mac80211: schedule the actual switch of the station before CSA count 0 X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~119^2~23^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff1e417c7c239b7abfe70aa90460a77eaafc7f83;p=pandora-kernel.git 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 Signed-off-by: Luciano Coelho Signed-off-by: Johannes Berg --- Reading git-diff-tree failed