Thread (25 messages) flat view 25 messages, 2 authors, 2012-09-24

Re: [PATCH v3 07/18] neard: Implement PushOOB function

From: Johan Hedberg <hidden>
Date: 2012-09-24 09:09:41

Hi Szymon,

On Fri, Sep 21, 2012, Szymon Janc wrote:
+static struct btd_adapter *pending_adapter = NULL;
+static DBusMessage *pending_msg = NULL;
I'm not really a fan of these global variables. Any chance of moving
them to a non-global temporary context that gets passed around. In
general I find it hard to get the big picture on the life-time of these
variables as it seems you don't actually explicitly initiate the pairing
process from your code but are relying on some external entity to do
that? Or did I miss something? The whole thing just looks quite brittle
right now.

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