From: Luciano Coelho Date: Thu, 22 Jan 2015 21:34:10 +0000 (+0200) Subject: mac80211: complete scan work immediately if quiesced or suspended X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~69^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=332ff7fe36bfdcab4ae7d35a2273ce431bf15171;p=pandora-kernel.git mac80211: complete scan work immediately if quiesced or suspended It is possible that a deferred scan is queued after the queues are flushed in __ieee80211_suspend(). The deferred scan work may be scheduled by ROC or ieee80211_stop_poll(). To make sure don't start a new scan while suspending, check whether we're quiescing or suspended and complete the scan immediately if that's the case. Signed-off-by: Luciano Coelho Signed-off-by: Johannes Berg --- Reading git-diff-tree failed