util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sami Kerola <kerolasa@iki.fi>
To: util-linux@vger.kernel.org
Cc: Sami Kerola <kerolasa@iki.fi>
Subject: [PATCH] rfkill: expand all acronyms in type string descriptions
Date: Sat, 14 Oct 2017 22:35:41 +0100	[thread overview]
Message-ID: <20171014213541.1666-1-kerolasa@iki.fi> (raw)

Be as verbose as possible when user wants that.  This also fixes small typo
from 7d2a9960ad that made gps to look like a GUID Partition Table.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
---
 sys-utils/rfkill.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-utils/rfkill.c b/sys-utils/rfkill.c
index 195386c8f..2b667f7c7 100644
--- a/sys-utils/rfkill.c
+++ b/sys-utils/rfkill.c
@@ -57,16 +57,16 @@ struct rfkill_type_str {
 
 static const struct rfkill_type_str rfkill_type_strings[] = {
 	{ .type = RFKILL_TYPE_ALL,       .name = "all"           },
-	{ .type = RFKILL_TYPE_WLAN,      .name = "wlan",         .desc = "Wireless LAN" },
+	{ .type = RFKILL_TYPE_WLAN,      .name = "wlan",         .desc = "Wireless Local Area Network" },
 	{ .type = RFKILL_TYPE_WLAN,      .name = "wifi"          },				/* alias */
 	{ .type = RFKILL_TYPE_BLUETOOTH, .name = "bluetooth",    .desc = "Bluetooth" },
 	{ .type = RFKILL_TYPE_UWB,       .name = "uwb",          .desc = "Ultra-Wideband" },
 	{ .type = RFKILL_TYPE_UWB,       .name = "ultrawideband" }, /* alias */
-	{ .type = RFKILL_TYPE_WIMAX,     .name = "wimax",        .desc = "WiMAX" },
-	{ .type = RFKILL_TYPE_WWAN,      .name = "wwan",         .desc = "Wireless WAN" },
-	{ .type = RFKILL_TYPE_GPS,       .name = "gps",          .desc = "GPT" },
-	{ .type = RFKILL_TYPE_FM,        .name = "fm",           .desc = "FM" },
-	{ .type = RFKILL_TYPE_NFC,       .name = "nfc",          .desc = "NFC" },
+	{ .type = RFKILL_TYPE_WIMAX,     .name = "wimax",        .desc = "Worldwide Interoperability for Microwave Access" },
+	{ .type = RFKILL_TYPE_WWAN,      .name = "wwan",         .desc = "Wireless Wide Area Network" },
+	{ .type = RFKILL_TYPE_GPS,       .name = "gps",          .desc = "Global Positioning System" },
+	{ .type = RFKILL_TYPE_FM,        .name = "fm",           .desc = "Frequency Modulation radio" },
+	{ .type = RFKILL_TYPE_NFC,       .name = "nfc",          .desc = "Near-Field Communication" },
 	{ .type = NUM_RFKILL_TYPES,      .name = NULL            }
 };
 
-- 
2.14.2


             reply	other threads:[~2017-10-14 21:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-14 21:35 Sami Kerola [this message]
2017-10-16  8:58 ` [PATCH] rfkill: expand all acronyms in type string descriptions Karel Zak
2017-10-16 18:15   ` Sami Kerola
2017-10-17  8:16     ` Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171014213541.1666-1-kerolasa@iki.fi \
    --to=kerolasa@iki.fi \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).