From: Sujith Manoharan Date: Sun, 16 Nov 2014 00:41:10 +0000 (+0530) Subject: ath9k: Move roc completion to the offchannel timer X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~134^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47b6308b643302e642ca2a5cb6470926f7e1c428;p=pandora-kernel.git ath9k: Move roc completion to the offchannel timer Currently, when a roc period expires, the offchannel timer calls ieee80211_remain_on_channel_expired(), but the roc state is cleared only when the queued work to switch to the operating channel gets a chance to run. This race is a problem because mac80211 can issue a new roc request in this window. To avoid this, handle roc completion in the offchannel timer itself. Signed-off-by: Sujith Manoharan Signed-off-by: John W. Linville --- Reading git-diff-tree failed