Thread (27 messages) flat view 27 messages, 5 authors, 2016-02-16

Re: [PATCH 8/9] rfkill: Userspace control for airplane mode

From: Johannes Berg <hidden>
Date: 2016-02-10 16:07:41
Also in: linux-wireless, lkml, netdev, platform-driver-x86

On Mon, 2016-02-08 at 10:11 -0600, Dan Williams wrote:
I'd like to clarify a bit, so tell me if I'm correct or not.  Using
RFKILL_OP_AIRPLANE_MODE_CHANGE does not actually change any device
state. It's just an indicator with no relationship to any of the
registered rfkill switches, right?
Yes. I'm not sure I'm totally happy with this userspace API.
I wonder if setting RFKILL_OP_AIRPLANE_MODE_CHANGE(true) shouldn't
also
softblock all switches, otherwise you can set airplane mode all day
long with RFKILL_OP_AIRPLANE_MODE_CHANGE and it doesn't actually
enable
airplane mode at all?
No, this is kinda the point that you could implement your policy in
userspace now.

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help