Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit eab48345 authored by Vitaly Wool's avatar Vitaly Wool Committed by Johannes Berg
Browse files

rfkill: prevent unnecessary event generation



Prevent unnecessary rfkill event generation when the state has
not actually changed. These events have to be delivered to
relevant userspace processes, causing these processes to wake
up and do something while they could as well have slept. This
obviously results in more CPU usage, longer time-to-sleep-again
and therefore higher power consumption.

Signed-off-by: default avatarVitaly Wool <vitalywool@gmail.com>
Signed-off-by: default avatarMykyta Iziumtsev <nikita.izyumtsev@gmail.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent c6f219dc
Loading
Loading
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