Re: [PATCH] rfkill: clarify usage of rfkill_force_state() and rfkill->get_state()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ivo van Doorn
Date: Thursday, September 18, 2008 - 10:40 am

On Thursday 18 September 2008, Henrique de Moraes Holschuh wrote:

Indeed, you need to differentiate between RFKILL and RADIO states.


Well my interpretation is that rfkill events and thus rfkill_force_state() calls
should be done for RFKILL state changes only. And RADIO state should be
ignored since they don't matter for rfkill.


The driver is required to keep track of the userspace configuration settings,
when rfkill sends BLOCK to driver it should disable the radio, when rfkill
send UNBLOCK to the driver it should restore to the userspace configuration
settings (which can either be an enabled or disabled radio).

Ivo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] rfkill: clarify usage of rfkill_force_state() and ..., Henrique de Moraes H ..., (Thu Sep 18, 8:19 am)
Re: [PATCH] rfkill: clarify usage of rfkill_force_state() ..., Henrique de Moraes H ..., (Thu Sep 18, 9:43 am)
Re: [PATCH] rfkill: clarify usage of rfkill_force_state() ..., Ivo van Doorn, (Thu Sep 18, 10:40 am)