diff options
author | Meng Yu <yumeng18@huawei.com> | 2021-04-01 14:50:39 +0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2021-04-02 11:03:04 +0200 |
commit | 149b3f13b4b11175c81105f32b048260e63fdc34 (patch) | |
tree | aa84d5bce6aee5fc44971ab9878b4dd63f625899 /net/bluetooth/hci_event.c | |
parent | 82a1242619d0db39ca710538fa2a53623a1022c8 (diff) |
Bluetooth: Coding style fix
1. Add space when needed;
2. Block comments style fix;
3. Move open brace '{' following function definitions to the next line;
4. Remove unnecessary braces '{}' for single statement blocks.
Signed-off-by: Meng Yu <yumeng18@huawei.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_event.c')
-rw-r--r-- | net/bluetooth/hci_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index 341c8ce93648..593eafa282e3 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c @@ -5891,7 +5891,7 @@ static void hci_le_remote_conn_param_req_evt(struct hci_dev *hdev, params->conn_latency = latency; params->supervision_timeout = timeout; store_hint = 0x01; - } else{ + } else { store_hint = 0x00; } |