Skip to content

rfkill-glib: Rework async CHANGE repeat logic

Benjamin Berg requested to merge benzea/rfkill-fixes into master

Currently we could end up sending to write events at the same time, because e.g. the previous one has been cancelled but did not yet finish.

Rework the async logic, also changing the bluetooth repeat logic slightly to repeat all "broken" change events for a certain period (rather than just always reacting to the first change event).

Note that this repeat logic is broken anyway and will be removed in the next commit.

Merge request reports