summaryrefslogtreecommitdiffstats
path: root/hcid/security.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-04-25 13:46:05 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-04-25 13:46:05 +0000
commit806640b12ffdba3dd6ad9a3b98196837d01c2b7f (patch)
tree115b8b5e57a02334747b9a6ea09b26171081e266 /hcid/security.c
parentf85f711a31fb3489580dc66b23c566cec12b1467 (diff)
Small coding style fixes
Diffstat (limited to 'hcid/security.c')
-rw-r--r--hcid/security.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/hcid/security.c b/hcid/security.c
index 6f0aa10f..199b93d3 100644
--- a/hcid/security.c
+++ b/hcid/security.c
@@ -79,17 +79,17 @@ struct hci_req_data *hci_req_data_new(int dev_id, const bdaddr_t *dba, uint16_t
free(data);
return NULL;
}
-
+
memcpy(data->cparam, cparam, clen);
bacpy(&data->dba, dba);
data->dev_id = dev_id;
data->status = REQ_PENDING;
- data->ogf = ogf;
- data->ocf = ocf;
- data->event = event;
- data->clen = clen;
+ data->ogf = ogf;
+ data->ocf = ocf;
+ data->event = event;
+ data->clen = clen;
return data;
}
@@ -753,7 +753,8 @@ static gboolean io_security_event(GIOChannel *chan, GIOCondition cond, gpointer
auth_complete(dev, &di->bdaddr, ptr);
break;
}
- /* check for pending cmd request */
+
+ /* Check for pending command request */
check_pending_hci_req(di->dev_id, eh->evt);
if (hci_test_bit(HCI_SECMGR, &di->flags))