aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Paulo Rechi Vita <jprvita@gmail.com>2016-01-19 10:42:42 -0500
committerJohannes Berg <johannes.berg@intel.com>2016-02-24 03:04:25 -0500
commitd4634e8dea13ccc969dd3f33dab3873cfdf3bc51 (patch)
tree0a684a5ac6bae21ee8adcb1c3cb1818fb8f671c6
parente2a35e89291d70d1c4668b3216f84ec740d36be3 (diff)
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>
-rw-r--r--include/uapi/linux/rfkill.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/rfkill.h b/include/uapi/linux/rfkill.h
index 058757f7a733..2e00dcebebd0 100644
--- a/include/uapi/linux/rfkill.h
+++ b/include/uapi/linux/rfkill.h
@@ -59,6 +59,8 @@ enum rfkill_type {
59 * @RFKILL_OP_DEL: a device was removed 59 * @RFKILL_OP_DEL: a device was removed
60 * @RFKILL_OP_CHANGE: a device's state changed -- userspace changes one device 60 * @RFKILL_OP_CHANGE: a device's state changed -- userspace changes one device
61 * @RFKILL_OP_CHANGE_ALL: userspace changes all devices (of a type, or all) 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 */
63enum rfkill_operation { 65enum rfkill_operation {
64 RFKILL_OP_ADD = 0, 66 RFKILL_OP_ADD = 0,