diff options
author | Seung-Woo Kim <sw0312.kim@samsung.com> | 2019-07-17 10:56:16 +0900 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2019-07-17 11:00:09 +0900 |
commit | 474c5daa253fb2c47aec02499783b10d664f4763 (patch) | |
tree | 33784af11bc0607e5369432ea8a7ab09adc421e4 | |
parent | 67716d6e4697dbf9cb575e0cef5c8a4de42736d5 (diff) | |
download | linux-rpi3-474c5daa253fb2c47aec02499783b10d664f4763.tar.gz linux-rpi3-474c5daa253fb2c47aec02499783b10d664f4763.tar.bz2 linux-rpi3-474c5daa253fb2c47aec02499783b10d664f4763.zip |
Bluetooth: fix wrong indent in __hci_req_update_{scan/adv}_rsp_data()
The commit ac160e08af69 ("Bluetooth: Add Advertising Packet
Configuration") introduces wrong indent which causes build warning for
gcc-7. Fix the wrong indent.
Change-Id: Ia0bde8a8f9660ccf8fa312e3c3ec6c8cb76863f1
Fixes: ac160e08af69 ("Bluetooth: Add Advertising Packet Configuration")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
-rw-r--r-- | net/bluetooth/hci_request.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/net/bluetooth/hci_request.c b/net/bluetooth/hci_request.c index 7069cd0ad8b0..71e3e1e8d741 100644 --- a/net/bluetooth/hci_request.c +++ b/net/bluetooth/hci_request.c @@ -1220,11 +1220,11 @@ void __hci_req_update_scan_rsp_data(struct hci_request *req, u8 instance) else len = create_default_scan_rsp_data(hdev, cp.data); #ifdef TIZEN_BT - /* Advertising scan response data is handled in bluez. - * This value will be updated only when application request the update - * using adapter_set_scan_rsp_data() - */ - return; + /* Advertising scan response data is handled in bluez. + * This value will be updated only when application request the update + * using adapter_set_scan_rsp_data() + */ + return; #else if (hdev->scan_rsp_data_len == len && @@ -1253,11 +1253,11 @@ void __hci_req_update_scan_rsp_data(struct hci_request *req, u8 instance) else len = create_default_scan_rsp_data(hdev, cp.data); #ifdef TIZEN_BT - /* Advertising scan response data is handled in bluez. - * This value will be updated only when application request the update - * using adapter_set_scan_rsp_data() - */ - return; + /* Advertising scan response data is handled in bluez. + * This value will be updated only when application request the update + * using adapter_set_scan_rsp_data() + */ + return; #else if (hdev->scan_rsp_data_len == len && !memcmp(cp.data, hdev->scan_rsp_data, len)) @@ -1369,11 +1369,11 @@ void __hci_req_update_adv_data(struct hci_request *req, u8 instance) len = create_instance_adv_data(hdev, instance, cp.data); #ifdef TIZEN_BT - /* Bluez will handle the advertising data including the flag and tx - * power. This value will be updated only when application request the - * update using adapter_set_advertising_data(). - */ - return; + /* Bluez will handle the advertising data including the flag and tx + * power. This value will be updated only when application request the + * update using adapter_set_advertising_data(). + */ + return; #else /* There's nothing to do if the data hasn't changed */ if (hdev->adv_data_len == len && @@ -1398,11 +1398,11 @@ void __hci_req_update_adv_data(struct hci_request *req, u8 instance) len = create_instance_adv_data(hdev, instance, cp.data); #ifdef TIZEN_BT - /* Bluez will handle the advertising data including the flag and tx - * power. This value will be updated only when application request the - * update using adapter_set_advertising_data(). - */ - return; + /* Bluez will handle the advertising data including the flag and tx + * power. This value will be updated only when application request the + * update using adapter_set_advertising_data(). + */ + return; #else /* There's nothing to do if the data hasn't changed */ if (hdev->adv_data_len == len && |