mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
rfkill: disentangle polling pause and suspend
When suspended while polling is paused, polling will erroneously resume at resume time. Fix this by tracking pause and suspend in separate state variable and adding the necessary checks. Clarify the documentation on this as well. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
f06b7ab875
commit
dd21dfc645
2 changed files with 17 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue