From: Luciano Coelho Date: Thu, 12 May 2011 14:07:55 +0000 (+0300) Subject: wl12xx: prevent sched_scan when not idle or not in station mode X-Git-Tag: v3.0-rc1~377^2~54^2^2~19^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=683c002447c12742f5151691083f68524f33b13a;p=pandora-kernel.git wl12xx: prevent sched_scan when not idle or not in station mode The current firmware only supports scheduled scan in station mode and when idle. To prevent the firmware from crashing, return -EOPNOTSUPP when sched_scan start is called in an invalid state. Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed