From 806640b12ffdba3dd6ad9a3b98196837d01c2b7f Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 25 Apr 2006 13:46:05 +0000 Subject: Small coding style fixes --- hcid/security.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'hcid/security.c') 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)) -- cgit