Skip to content

Commit 02c8659

Browse files
jori-nordicnashif
authored andcommitted
Bluetooth: Host: run clang-format on auto-init-procedures fns
Does what it says on the tin. Signed-off-by: Jonathan Rico <[email protected]>
1 parent ac88899 commit 02c8659

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

subsys/bluetooth/host/conn.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1750,11 +1750,9 @@ static void perform_auto_initiated_procedures(struct bt_conn *conn, void *unused
17501750
}
17511751
}
17521752

1753-
if (IS_ENABLED(CONFIG_BT_AUTO_PHY_UPDATE) &&
1754-
BT_FEAT_LE_PHY_2M(bt_dev.le.features) &&
1753+
if (IS_ENABLED(CONFIG_BT_AUTO_PHY_UPDATE) && BT_FEAT_LE_PHY_2M(bt_dev.le.features) &&
17551754
!uses_symmetric_2mbit_phy(conn)) {
1756-
err = bt_le_set_phy(conn, 0U, BT_HCI_LE_PHY_PREFER_2M,
1757-
BT_HCI_LE_PHY_PREFER_2M,
1755+
err = bt_le_set_phy(conn, 0U, BT_HCI_LE_PHY_PREFER_2M, BT_HCI_LE_PHY_PREFER_2M,
17581756
BT_HCI_LE_PHY_CODED_ANY);
17591757
if (err) {
17601758
LOG_ERR("Failed LE Set PHY (%d)", err);
@@ -1767,8 +1765,7 @@ static void perform_auto_initiated_procedures(struct bt_conn *conn, void *unused
17671765
/* Data length should be automatically updated to the maximum by the
17681766
* controller. Not updating it is a quirk and this is the workaround.
17691767
*/
1770-
if (IS_ENABLED(CONFIG_BT_AUTO_DATA_LEN_UPDATE) &&
1771-
BT_FEAT_LE_DLE(bt_dev.le.features) &&
1768+
if (IS_ENABLED(CONFIG_BT_AUTO_DATA_LEN_UPDATE) && BT_FEAT_LE_DLE(bt_dev.le.features) &&
17721769
bt_drv_quirk_no_auto_dle()) {
17731770
uint16_t tx_octets, tx_time;
17741771

0 commit comments

Comments
 (0)