Thread (4 messages) flat view 4 messages, 2 authors, 2010-08-18

Re: [PATCH 3/3] Maemo6 MCE: handle race condition at startup

From: Daniel Örstadius <hidden>
Date: 2010-08-18 13:20:49

On Wed, Aug 18, 2010 at 2:25 PM, Daniel Örstadius
[off-list ref] wrote:
On Fri, Aug 13, 2010 at 12:19 PM, Daniel Örstadius
[off-list ref] wrote:
quoted
Since bluetoothd power cycles the adapter at startup, it is possible
that the plugin gets a reply from reading the state of the MCE and
tries to power the adapter before it is down. The patch checks for
that situation and if it occurs postpones powering the adapter to
the mode change callback. The off_requested member of btd_adapter
is used for the check, so it is set to FALSE when the adapter is
down.
Attaching updated patch.
Patch without the off_requested part.

/Daniel

Attachments

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