Re: [PATCH 2/2] enhance /sys/class/rfkill/<rfkill>/state interface

From: Johannes Berg
Date: Sat Feb 20 2010 - 17:15:05 EST


On Sat, 2010-02-20 at 22:40 +0100, florian@xxxxxxxxxxx wrote:
> Introduce a new state-value RFKILL_STATE_SOFT_AND_HARD_BLOCKED
> which is returned only through the sysfs state file.
> The other interfaces are designed so that they don't need this extra
> state.
>
> This allows the sysfs to represent all possible states an rfkill
> driver can
> have.
>
> Signed-off-by: Florian Mickler <florian@xxxxxxxxxxx>
> ---
>
> After stumbling over this arbitrary limitation of
> sys/class/rfkill/*/state I
> wondered what would hinder this patch?

This is not backward compatible, so can't be done.

johannes

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