GNU bug report logs - #36141
[PATCH] installer: Unblock relevant rfkill switches.

Previous Next

Package: guix-patches;

Reported by: Tobias Geerinckx-Rice <me <at> tobias.gr>

Date: Sat, 8 Jun 2019 17:56:01 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 36141 <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: 36141 <at> debbugs.gnu.org
Subject: Re: [bug#36141] [PATCH] installer: Unblock relevant rfkill switches.
Date: Sat, 08 Jun 2019 20:14:40 +0200
[Message part 1 (text/plain, inline)]
Oh…

Tobias Geerinckx-Rice wrote:
> +         (connman-rfkill-types `(("bluetooth" . "bluetooth")
> +                                 ("wifi" . "wlan")))
> +         (rfkill-type (assoc-ref connman-rfkill-types type)))

Turns out that util-linux allows ‘wifi’ as a special alias for 
‘wlan’:

 // only result for ‘grep -riw wifi’:
 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 = "wifi" }, /* alias */

…so we could drop connman-rfkill-types completely and rely on that 
(undocumented!) quirk.

Of course I don't believe we should, but now you know as much as I 
do :-)

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 286 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.