Skip to content
Snippets Groups Projects
Commit ae63a33e authored by Deepak Saxena's avatar Deepak Saxena Committed by John W. Linville
Browse files

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: default avatarDeepak Saxena <dsaxena@laptop.org>
Signed-off-by: default avatarDaniel Drake <dsd@laptop.org>
[includes fixups by Paul Fox]
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent cf432988
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment