Commit be823e5b authored by Juuso Oikarinen's avatar Juuso Oikarinen Committed by John W. Linville
Browse files

wl1271: Mask unneeded events from firmware to conserve power

Currently several events are enabled from the firmware for which there
is no handling. This wakes up the host unnecessarily. Mask those
unneeded events.

Signed-off-by: default avatarJuuso Oikarinen <>
Reviewed-by: default avatarLuciano Coelho <>
Signed-off-by: default avatarLuciano Coelho <>
Signed-off-by: default avatarJohn W. Linville <>
parent 1922167b
......@@ -390,8 +390,9 @@ static int wl1271_boot_run_firmware(struct wl1271 *wl)
/* enable gpio interrupts */
/* unmask all mbox events */
wl->event_mask = 0xffffffff;
/* unmask required mbox events */
wl->event_mask = BSS_LOSE_EVENT_ID |
ret = wl1271_event_unmask(wl);
if (ret < 0) {
Supports Markdown
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