From: Juuso Oikarinen Date: Tue, 21 Sep 2010 04:23:32 +0000 (+0200) Subject: wl1271: Add handling for failing hardware scan command X-Git-Tag: v2.6.37-rc1~147^2~191^2^2~34^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78abd3207438b20e099b41cbed58d640cbd237a6;p=pandora-kernel.git wl1271: Add handling for failing hardware scan command Currently, the driver does not handle a failing hardware command to scan in any way - effectively, the scan machine will jam until the driver is shut down, and future scan requests will just return -EBUSY to user space, resulting in a type of busy-loop. The same problem occurs if the firmware fails to deliver the scan completion event - add timeout for this. Signed-off-by: Juuso Oikarinen Reviewed-by: Teemu Paasikivi Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed