Skip to content

rfkill: Drop return values

Kai Uwe Broulik requested to merge work/kbroulik/fire-and-forget-rfkill into master

Writing to rfkill can block for quite some time. Removing the return values makes it easier to make it asynchronous.

If you want to know whether it succeeded you can just connect to the stateChanged signal.


I probably won’t have the time to actually make it async or in a thread or something but at least prepare the API so we could do that anytime during the 6.x era.

@drosca @nicolasfella

Merge request reports