linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question on rfkill double block
@ 2008-07-02  7:03 Zhu Yi
  2008-07-02 17:03 ` Dan Williams
  2008-07-02 19:32 ` Henrique de Moraes Holschuh
  0 siblings, 2 replies; 19+ messages in thread
From: Zhu Yi @ 2008-07-02  7:03 UTC (permalink / raw)
  To: linux-wireless

Hi,

Quote from Documentation/rfkill.txt:
"
The driver should implement the toggle_radio() hook, that:

=2E..

3. Deactivates the soft rfkill line if none of the hardware rfkill line=
s
are active and the caller asked for RFKILL_STATE_UNBLOCKED.
"

It doesn't say what to do if both the hardware and software rfkill line=
s
are active when RFKILL_STATE_UNBLOCKED is asked. Should we deactivate
the software rfkill in this case? Otherwise below usage won't turn on
the radio:

hardware rfkill activate
software rfkill activate
RFKILL_STATE_UNBLOCKED request
hardware rfkill deactivate

=46urthermore, if we permit double block, what should get_state() retur=
n?
Shouldn't rfkill_state =EF=BB=BFbe bitmap instead of enum?

Thanks,
-yi

--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2008-07-08 15:05 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-02  7:03 Question on rfkill double block Zhu Yi
2008-07-02 17:03 ` Dan Williams
2008-07-04 19:55   ` Henrique de Moraes Holschuh
2008-07-07 17:11     ` Dan Williams
2008-07-07 19:48       ` Fabien Crespel
2008-07-07 20:47       ` Henrique de Moraes Holschuh
2008-07-08  5:12         ` Andy Lutomirski
2008-07-08 15:05           ` Henrique de Moraes Holschuh
2008-07-02 19:32 ` Henrique de Moraes Holschuh
2008-07-05 21:28   ` Tomas Winkler
2008-07-06  0:20     ` Henrique de Moraes Holschuh
2008-07-07  4:44       ` Andy Lutomirski
2008-07-07 16:56         ` Henrique de Moraes Holschuh
2008-07-07 18:47           ` Andrew Lutomirski
2008-07-07 19:18             ` Andrew Lutomirski
2008-07-07 21:09               ` Andrew Lutomirski
2008-07-07 21:21               ` Henrique de Moraes Holschuh
2008-07-07 20:59             ` Henrique de Moraes Holschuh
2008-07-07 17:02         ` Dan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).