From: Luciano Coelho Date: Fri, 8 Jul 2011 08:16:16 +0000 (+0300) Subject: cfg80211: return -ENOENT when stopping sched_scan while not running X-Git-Tag: v3.1-rc1~316^2~124^2^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a84ff7564ae43dd1ea20e17f867de2700ca5b5b;p=pandora-kernel.git cfg80211: return -ENOENT when stopping sched_scan while not running If we try to stop a scheduled scan while it is not running, we should return -ENOENT instead of simply ignoring the command and returning success. This is more consistent with other parts of the code. Reported-by: Johannes Berg Signed-off-by: Luciano Coelho Signed-off-by: John W. Linville --- Reading git-diff-tree failed