Skip to content

Commit 35d91d9

Browse files
committed
Bluetooth: hci_event: Fix coding style
This fixes the following code style problem: ERROR: that open brace { should be on the previous line + if (!bacmp(&hdev->bdaddr, &ev->bdaddr)) + { Fixes: 1ffc6f8 ("Bluetooth: Reject connection with the device which has same BD_ADDR") Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
1 parent b541260 commit 35d91d9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

net/bluetooth/hci_event.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3273,8 +3273,7 @@ static void hci_conn_request_evt(struct hci_dev *hdev, void *data,
32733273
/* Reject incoming connection from device with same BD ADDR against
32743274
* CVE-2020-26555
32753275
*/
3276-
if (!bacmp(&hdev->bdaddr, &ev->bdaddr))
3277-
{
3276+
if (!bacmp(&hdev->bdaddr, &ev->bdaddr)) {
32783277
bt_dev_dbg(hdev, "Reject connection with same BD_ADDR %pMR\n",
32793278
&ev->bdaddr);
32803279
hci_reject_conn(hdev, &ev->bdaddr);

0 commit comments

Comments
 (0)