# Re: \[PATCH 2/2\] rfkill: Add support for KEY\_RFKILL\_ALL

- From: Marcel Holtmann \<marcel@holtmann.org\>
- Date: 2009-08-01 20:41:21 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2009/08/8911636
- Thread: https://ratatoskr.run/linux-input/2009/08/8911632/t.md

```text
Hi Bastien,

> > +               case KEY_RFKILL_ALL:
> > +                       rfkill_schedule_toggle(RFKILL_TYPE_WLAN);
> > +                       rfkill_schedule_toggle(RFKILL_TYPE_BLUETOOTH);
> > +                       rfkill_schedule_toggle(RFKILL_TYPE_UWB);
> > +                       rfkill_schedule_toggle(RFKILL_TYPE_WIMAX);
> > +                       break;
> 
> RFKILL_TYPE_ALL?

this should be RFKILL_TYPE_ALL indeed. Even if rfkill-input is going to
be removed. For the time being it needs to toggle all. Especially since
the example above already forgets RFKILL_TYPE_WWAN.

Regards

Marcel


```
