From patchwork Tue Jan 19 15:42:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Jo=C3=A3o_Paulo_Rechi_Vita?= X-Patchwork-Id: 8063521 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 12BB29F859 for ; Tue, 19 Jan 2016 15:47:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 53304203A0 for ; Tue, 19 Jan 2016 15:47:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 73585203A9 for ; Tue, 19 Jan 2016 15:47:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756938AbcASPpc (ORCPT ); Tue, 19 Jan 2016 10:45:32 -0500 Received: from mail-qg0-f66.google.com ([209.85.192.66]:33539 "EHLO mail-qg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756357AbcASPoK (ORCPT ); Tue, 19 Jan 2016 10:44:10 -0500 Received: by mail-qg0-f66.google.com with SMTP id o11so54591470qge.0; Tue, 19 Jan 2016 07:44:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=MJrrMpt09C7om5KQoGynEarhL0/dxZuZ7ML/9fXjhVc=; b=RzAG79WOLJtRRnwrA3M4ix/y/61DweOPP8D9qIhZR+N/iSBsI+Q243SrqNZLQgeQSY sPmSgvAOOZYnVqDPWEwSnB6eDmx58I8aAjsDqXxUVO0hq9SbHDFgp5PrMA1CtlCuM4pm df6JTw5jnnn/YVdLJg5nlfcITK29kRmSoFCFWXpa9WQ/VheycsNpfMTwadoQbeHnlISh 6DBcBr3QHpXgpXoe5VCzIMn5jXzvb57oDrY9MUxTjzKH8BYhhjyylxfSO+sILkd5ErE7 ZkoPI5YBJawVjbGwT2Z3tehDF60qVQy4/I7Vc1EW6uEp/yBTvPE/gjii3nTaNpxKDcXh jUGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=MJrrMpt09C7om5KQoGynEarhL0/dxZuZ7ML/9fXjhVc=; b=FsGEunq6mmJIqz3LqpVvjmEXe1TK+j9aR2XPGu/cXQCjGW1WTZEk5qj/O5Co3zap/9 pP8QWB3YMH/DGB3TJl5fc3IDeFAGiolv5Q94QlS73+nJic7k2DDmkhroKDr3o5C/Exyr ln/jhTpdGCDjwBxsyRXF0gmpMN4eoVnrUeYV26oPTnXFNGkc10SLwkERu26j+bK8Hsk3 TiLSjfaC8BPpbN5wjrFbdxS2Vv5xjLFb3lb2xKEF+KouffveRDvLHg2LGM1C/1HqaDzN oET6TdUaJvr2hSvVznsvBoyLg6ZJkMTe+t/Z4ukem96X4tZc/Qg4NHMAu7jls7KVS4T1 43sw== X-Gm-Message-State: ALoCoQnnq4i5FGwcoxxMvPtI7BLrPYWBx7zJHd0RhgYgHlTQjhfnou5+9zuuIUq3aNjPch9nsX55g95LO9rSmJ0BYx60tSyltg== X-Received: by 10.140.27.202 with SMTP id 68mr38447032qgx.4.1453218248986; Tue, 19 Jan 2016 07:44:08 -0800 (PST) Received: from localhost.localdomain (c-98-239-150-235.hsd1.wv.comcast.net. [98.239.150.235]) by smtp.gmail.com with ESMTPSA id z10sm12336759qhz.5.2016.01.19.07.44.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Jan 2016 07:44:08 -0800 (PST) From: "=?UTF-8?q?Jo=C3=A3o=20Paulo=20Rechi=20Vita?=" X-Google-Original-From: =?UTF-8?q?Jo=C3=A3o=20Paulo=20Rechi=20Vita?= To: johannes@sipsolutions.net Cc: marcel@holtmann.org, linux-wireless@vger.kernel.org, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, jprvita@endlessm.com, linux@endlessm.com Subject: [PATCH 7/8] rfkill: Update userspace API documentation Date: Tue, 19 Jan 2016 10:42:42 -0500 Message-Id: <1453218163-31998-8-git-send-email-jprvita@endlessm.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1453218163-31998-1-git-send-email-jprvita@endlessm.com> References: <1453218163-31998-1-git-send-email-jprvita@endlessm.com> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- include/uapi/linux/rfkill.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/rfkill.h b/include/uapi/linux/rfkill.h index 058757f..c15fcfc 100644 --- a/include/uapi/linux/rfkill.h +++ b/include/uapi/linux/rfkill.h @@ -59,6 +59,7 @@ 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 which also updates the default state for hotplugged devices. */ enum rfkill_operation { RFKILL_OP_ADD = 0,