mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
Bluetooth: hci_event: Fix coding style
commit35d91d95a0upstream. This fixes the following code style problem: ERROR: that open brace { should be on the previous line + if (!bacmp(&hdev->bdaddr, &ev->bdaddr)) + { Fixes:1ffc6f8cc3("Bluetooth: Reject connection with the device which has same BD_ADDR") Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
99ccf8d79b
commit
feffabdd0a
@@ -3280,8 +3280,7 @@ static void hci_conn_request_evt(struct hci_dev *hdev, void *data,
|
|||||||
/* Reject incoming connection from device with same BD ADDR against
|
/* Reject incoming connection from device with same BD ADDR against
|
||||||
* CVE-2020-26555
|
* CVE-2020-26555
|
||||||
*/
|
*/
|
||||||
if (!bacmp(&hdev->bdaddr, &ev->bdaddr))
|
if (!bacmp(&hdev->bdaddr, &ev->bdaddr)) {
|
||||||
{
|
|
||||||
bt_dev_dbg(hdev, "Reject connection with same BD_ADDR %pMR\n",
|
bt_dev_dbg(hdev, "Reject connection with same BD_ADDR %pMR\n",
|
||||||
&ev->bdaddr);
|
&ev->bdaddr);
|
||||||
hci_reject_conn(hdev, &ev->bdaddr);
|
hci_reject_conn(hdev, &ev->bdaddr);
|
||||||
|
|||||||
Reference in New Issue
Block a user