From: Sujith Manoharan Date: Sun, 16 Nov 2014 00:41:09 +0000 (+0530) Subject: ath9k: Adjust tbtt delta properly X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~134^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9092c9873739429c9e97c4bc21ead9af2fb6aa1;p=pandora-kernel.git ath9k: Adjust tbtt delta properly In a GO/STA setup, when we switch to the STA context, the channel context timer is scheduled with a period of half the beacon interval. If a beacon is received in this duration, the timer is adjusted to accommodate TSF sync done by the HW. But, if the actual channel switch is delayed for some reason, we end up rearming the timer every time a new beacon is received. Avoid this by doing the adjustment only once. Signed-off-by: Sujith Manoharan Signed-off-by: John W. Linville --- Reading git-diff-tree failed