Skip to content
Commit df566a48 authored by Rajat Jain's avatar Rajat Jain Committed by Kalle Valo
Browse files

mwifiex: report wakeup for wowlan



Register the WLAN device as a wakeup source since it can
wake the system via wake-on-wireless-lan. In an actual wowlan
event, notify the PM core that we are the current wakeup source.
This allows the PM core to update the wakeup attributes in /sys.

This was causing wakeup issues on chromeos as the system was
apparently confused about the wakeup source.

Signed-off-by: default avatarWei-Ning Huang <wnhuang@google.com>
Signed-off-by: default avatarRajat Jain <rajatja@google.com>
Tested-by: default avatarWei-Ning Huang <wnhuang@chromium.org>
Reviewed-by: default avatarEric Caruso <ejcaruso@chromium.org>
Acked-by: default avatarAmitkumar Karwar <akarwar@marvell.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent e7ee74b5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment