Re: [PATCH 1/3] platform: x86: dell-rbtn: Dell Airplane Mode Switch driver

From: Pali RohÃr
Date: Mon Nov 24 2014 - 15:55:56 EST


On Monday 24 November 2014 21:09:05 Matthew Garrett wrote:
> On Sun, Nov 23, 2014 at 04:09:19PM +0100, Pali RohÃr wrote:
> > + /* NOTE: rbtn controls all radio devices, not only WLAN
> > + but rfkill interface does not support "ANY" type
> > + so "WLAN" type is used
> > + */
>
> If it controls multiple radio types then you should register
> multiple rfkill devices.

This is complicated. HW switch controls all radio devices and you
do not know which are present in specified running machine. Also
list of devices which HW switch controls can be edited in BIOS
(on some machines). So what to do? We only know that it controls
some devices...

--
Pali RohÃr
pali.rohar@xxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part.