summaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-09-14 15:45:17 +0200
committerJohannes Berg <johannes.berg@intel.com>2023-09-18 09:36:57 +0200
commit2c3dfba4cf84ac4f306cc6653b37b6dd6859ae9d (patch)
treed2fef1e758292fcf1a28c9f00aa47908db5d1165 /lib/crypto/mpi/mpi-sub-ui.c
parent6e48ebffc2db5419b3a51cfc509bde442252b356 (diff)
rfkill: sync before userspace visibility/changes
If userspace quickly opens /dev/rfkill after a new instance was created, it might see the old state of the instance from before the sync work runs and may even _change_ the state, only to have the sync work change it again. Fix this by doing the sync inline where needed, not just for /dev/rfkill but also for sysfs. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions