Commit 2be48b65 authored by Marcel Holtmann's avatar Marcel Holtmann Committed by Johan Hedberg

Bluetooth: Fix minor coding style issue in hci_core.c

A few variable assignments ended up with missing a space between the
variable and equal sign.
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 58f01aa9
...@@ -423,7 +423,7 @@ static int idle_timeout_set(void *data, u64 val) ...@@ -423,7 +423,7 @@ static int idle_timeout_set(void *data, u64 val)
return -EINVAL; return -EINVAL;
hci_dev_lock(hdev); hci_dev_lock(hdev);
hdev->idle_timeout= val; hdev->idle_timeout = val;
hci_dev_unlock(hdev); hci_dev_unlock(hdev);
return 0; return 0;
...@@ -451,7 +451,7 @@ static int sniff_min_interval_set(void *data, u64 val) ...@@ -451,7 +451,7 @@ static int sniff_min_interval_set(void *data, u64 val)
return -EINVAL; return -EINVAL;
hci_dev_lock(hdev); hci_dev_lock(hdev);
hdev->sniff_min_interval= val; hdev->sniff_min_interval = val;
hci_dev_unlock(hdev); hci_dev_unlock(hdev);
return 0; return 0;
...@@ -479,7 +479,7 @@ static int sniff_max_interval_set(void *data, u64 val) ...@@ -479,7 +479,7 @@ static int sniff_max_interval_set(void *data, u64 val)
return -EINVAL; return -EINVAL;
hci_dev_lock(hdev); hci_dev_lock(hdev);
hdev->sniff_max_interval= val; hdev->sniff_max_interval = val;
hci_dev_unlock(hdev); hci_dev_unlock(hdev);
return 0; return 0;
...@@ -588,7 +588,7 @@ static int conn_min_interval_set(void *data, u64 val) ...@@ -588,7 +588,7 @@ static int conn_min_interval_set(void *data, u64 val)
return -EINVAL; return -EINVAL;
hci_dev_lock(hdev); hci_dev_lock(hdev);
hdev->le_conn_min_interval= val; hdev->le_conn_min_interval = val;
hci_dev_unlock(hdev); hci_dev_unlock(hdev);
return 0; return 0;
...@@ -616,7 +616,7 @@ static int conn_max_interval_set(void *data, u64 val) ...@@ -616,7 +616,7 @@ static int conn_max_interval_set(void *data, u64 val)
return -EINVAL; return -EINVAL;
hci_dev_lock(hdev); hci_dev_lock(hdev);
hdev->le_conn_max_interval= val; hdev->le_conn_max_interval = val;
hci_dev_unlock(hdev); hci_dev_unlock(hdev);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment