Skip to content

Commit

Permalink
rfkill: Update userspace API documentation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
João Paulo Rechi Vita authored and Johannes Berg committed Feb 24, 2016
1 parent e2a35e8 commit d4634e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/uapi/linux/rfkill.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ enum rfkill_type {
* @RFKILL_OP_DEL: a device was removed
* @RFKILL_OP_CHANGE: a device's state changed -- userspace changes one device
* @RFKILL_OP_CHANGE_ALL: userspace changes all devices (of a type, or all)
* into a state, also updating the default state used for devices that
* are hot-plugged later.
*/
enum rfkill_operation {
RFKILL_OP_ADD = 0,
Expand Down

0 comments on commit d4634e8

Please sign in to comment.