Bluetooth: conn: move auto-init procedures to system workqueue #146380
Annotations
1 error, 1 warning, and 5 notices
Run Compliance Tests
Process completed with exit code 1.
|
check-warns:
ClangFormat.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
You may want to run clang-format on this change:
-#endif /* defined(CONFIG_BT_CONN) */
+#endif /* defined(CONFIG_BT_CONN) */
File:subsys/bluetooth/host/conn.c
Line:308
You may want to run clang-format on this change:
- if (IS_ENABLED(CONFIG_BT_AUTO_PHY_UPDATE) &&
- IS_ENABLED(CONFIG_BT_EXT_ADV) &&
+ if (IS_ENABLED(CONFIG_BT_AUTO_PHY_UPDATE) && IS_ENABLED(CONFIG_BT_EXT_ADV) &&
File:subsys/bluetooth/host/conn.c
Line:1171
You may want to run clang-format on this change:
- if (IS_ENABLED(CONFIG_BT_AUTO_PHY_UPDATE) &&
- BT_FEAT_LE_PHY_2M(bt_dev.le.features) &&
+ if (IS_ENABLED(CONFIG_BT_AUTO_PHY_UPDATE) && BT_FEAT_LE_PHY_2M(bt_dev.le.features) &&
!skip_auto_phy_update_on_conn_establishment(conn)) {
- err = bt_le_set_phy(conn, 0U, BT_HCI_LE_PHY_PREFER_2M,
- BT_HCI_LE_PHY_PREFER_2M,
+ err = bt_le_set_phy(conn, 0U, BT_HCI_LE_PHY_PREFER_2M, BT_HCI_LE_PHY_PREFER_2M,
File:subsys/bluetooth/host/conn.c
Line:1225
You may want to run clang-format on this change:
- if (IS_ENABLED(CONFIG_BT_AUTO_DATA_LEN_UPDATE) &&
- BT_FEAT_LE_DLE(bt_dev.le.features)) {
+ if (IS_ENABLED(CONFIG_BT_AUTO_DATA_LEN_UPDATE) && BT_FEAT_LE_DLE(bt_dev.le.features)) {
if (bt_drv_quirk_no_auto_dle()) {
uint16_t tx_octets, tx_time;
err = bt_hci_le_read_max_data_len(&tx_octets, &tx_time);
if (!err) {
- err = bt_le_set_data_len(conn,
- tx_octets, tx_time);
+ err = bt_le_set_data_len(conn, tx_octets, tx_time);
File:subsys/bluetooth/host/conn.c
Line:1243
You may want to run clang-format on this change:
-#endif /* defined(CONFIG_BT_CONN) */
+#endif /* defined(CONFIG_BT_CONN) */
File:subsys/bluetooth/host/conn.c
Line:1258
|
Run Compliance Tests:
subsys/bluetooth/host/conn.c#L308
subsys/bluetooth/host/conn.c:308
-#endif /* defined(CONFIG_BT_CONN) */
+#endif /* defined(CONFIG_BT_CONN) */
|
Run Compliance Tests:
subsys/bluetooth/host/conn.c#L1171
subsys/bluetooth/host/conn.c:1171
- if (IS_ENABLED(CONFIG_BT_AUTO_PHY_UPDATE) &&
- IS_ENABLED(CONFIG_BT_EXT_ADV) &&
+ if (IS_ENABLED(CONFIG_BT_AUTO_PHY_UPDATE) && IS_ENABLED(CONFIG_BT_EXT_ADV) &&
|
Run Compliance Tests:
subsys/bluetooth/host/conn.c#L1225
subsys/bluetooth/host/conn.c:1225
- if (IS_ENABLED(CONFIG_BT_AUTO_PHY_UPDATE) &&
- BT_FEAT_LE_PHY_2M(bt_dev.le.features) &&
+ if (IS_ENABLED(CONFIG_BT_AUTO_PHY_UPDATE) && BT_FEAT_LE_PHY_2M(bt_dev.le.features) &&
!skip_auto_phy_update_on_conn_establishment(conn)) {
- err = bt_le_set_phy(conn, 0U, BT_HCI_LE_PHY_PREFER_2M,
- BT_HCI_LE_PHY_PREFER_2M,
+ err = bt_le_set_phy(conn, 0U, BT_HCI_LE_PHY_PREFER_2M, BT_HCI_LE_PHY_PREFER_2M,
|
Run Compliance Tests:
subsys/bluetooth/host/conn.c#L1243
subsys/bluetooth/host/conn.c:1243
- if (IS_ENABLED(CONFIG_BT_AUTO_DATA_LEN_UPDATE) &&
- BT_FEAT_LE_DLE(bt_dev.le.features)) {
+ if (IS_ENABLED(CONFIG_BT_AUTO_DATA_LEN_UPDATE) && BT_FEAT_LE_DLE(bt_dev.le.features)) {
if (bt_drv_quirk_no_auto_dle()) {
uint16_t tx_octets, tx_time;
err = bt_hci_le_read_max_data_len(&tx_octets, &tx_time);
if (!err) {
- err = bt_le_set_data_len(conn,
- tx_octets, tx_time);
+ err = bt_le_set_data_len(conn, tx_octets, tx_time);
|
Run Compliance Tests:
subsys/bluetooth/host/conn.c#L1258
subsys/bluetooth/host/conn.c:1258
-#endif /* defined(CONFIG_BT_CONN) */
+#endif /* defined(CONFIG_BT_CONN) */
|
Loading