Re: sniff mode

Luiz Augusto von Dentz
2009-08-24T20:58:22Z

Hi Marcel,

On Mon, Aug 24, 2009 at 4:33 PM, Marcel Holtmann<marcel@holtmann.org> wrote=
:
>> It really seems the opposite, like we were disabling the automatic
>> active mode since this make us to always hit goto timer; while in
>> sniff mode. Perhaps this is meant for when remote device has been
>> controlling modes, which sound strange to me since hci_mode_change_evt
>> is called even when the we actively change the mode, right?
>> (hci_conn_idle does that)
>
> I am not following.

Perhaps it is just me, but I don't see any attempt to detect which
part has initiated the connection, so regardless of who has been the
initiator, on any mode change different than active we will reset the
power_save to 0 which will prevent any attempt to leave sniff mode.

--=20
Luiz Augusto von Dentz
Engenheiro de Computa=E7=E3o