device: Fix enabling wake support without RPA Resolution
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 12 May 2022 23:40:49 +0000 (16:40 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
commit5e8e1a0fcacfd685ef310e58a870582144c12a8f
tree7bf4926417bb7f6d95f31f960ca9f58aec37acd1
parent1e8e8b767f916ad6e8294270f57bef339da26c05
device: Fix enabling wake support without RPA Resolution

If device uses RPA it shall only enable wakeup if RPA Resolution has
been enabled otherwise it cannot be programmed in the acceptlist which
can cause suspend to fail.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=215768
Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/adapter.c
src/adapter.h
src/device.c
src/device.h