Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rfkill: Update userspace API documentation

Add a note to userspace on the effect of RFKILL_OP_CHANGE_ALL also
updating the default state for hotplugged devices.

Signed-off-by: João Paulo Rechi Vita <jprvita@endlessm.com>
[reword a bit]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

authored by

João Paulo Rechi Vita and committed by
Johannes Berg
d4634e8d e2a35e89

+2
+2
include/uapi/linux/rfkill.h
··· 59 59 * @RFKILL_OP_DEL: a device was removed 60 60 * @RFKILL_OP_CHANGE: a device's state changed -- userspace changes one device 61 61 * @RFKILL_OP_CHANGE_ALL: userspace changes all devices (of a type, or all) 62 + * into a state, also updating the default state used for devices that 63 + * are hot-plugged later. 62 64 */ 63 65 enum rfkill_operation { 64 66 RFKILL_OP_ADD = 0,