From: Deepak Saxena Date: Sun, 31 Oct 2010 13:40:33 +0000 (+0000) Subject: libertas: EHS_REMOVE_WAKEUP is not always supported X-Git-Tag: v2.6.38-rc1~476^2~405^2^2~140 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae63a33ec9b598b3454cf0d29077fa17b616c42a;p=pandora-kernel.git libertas: EHS_REMOVE_WAKEUP is not always supported Certain firmware versions, particularly the 8388 found on the XO-1, do not support the EHS_REMOVE_WAKEUP command that is used to disable WOL. Sending this command to the card will return a failure that would get propagated up the stack and cause suspend to fail. Instead, fall back to an all-zero wakeup mask. This fixes http://dev.laptop.org/ticket/9967 Signed-off-by: Deepak Saxena Signed-off-by: Daniel Drake [includes fixups by Paul Fox] Signed-off-by: John W. Linville --- Reading git-diff-tree failed