Re: [PATCH 1/1] toshiba_acpi: Add support for bluetooth toggling through rfkill (v6)

From: Ivo van Doorn
Date: Wed Aug 20 2008 - 11:57:47 EST


Hi,

> + if (unlikely(state_changed)) {
> + rfkill_force_state(dev->rfk_dev,
> + new_rfk_state ?
> + RFKILL_STATE_SOFT_BLOCKED :
> + RFKILL_STATE_HARD_BLOCKED);
> + input_report_switch(poll_dev->input, SW_RFKILL_ALL, new_rfk_state);
> + }
> +}

This looks very nice, but is the switch really toggling between
soft and hard blocked only? ;)

I mean shouldn't there be some unblock signal at some point?

Ivo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/