From: Sujith Manoharan Date: Fri, 17 Oct 2014 02:10:26 +0000 (+0530) Subject: ath9k: Fix RoC expiration X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~234^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a350335c5f3bbba2974446a18958d8c334de55f8;p=pandora-kernel.git ath9k: Fix RoC expiration mac80211 has to be notified when a RoC period expires in the driver. In MCC mode, since the offchannel/RoC timer is set with the requested duration, ieee80211_remain_on_channel_expired() needs to be called when the timer expires. But, currently it is done after we move back to the operating channel. This is incorrect - fix this by calling ieee80211_remain_on_channel_expired() when the RoC timer expires and in ath_roc_complete() when the RoC request is aborted. Signed-off-by: Sujith Manoharan Signed-off-by: John W. Linville --- Reading git-diff-tree failed