Skip to content

Commit

Permalink
Bluetooth: Host: Refactor provacative comment
Browse files Browse the repository at this point in the history
There is no reason to call people who disable
asserts for animals.

Signed-off-by: Emil Gydesen <[email protected]>
  • Loading branch information
Thalley authored and kartben committed Jan 8, 2025
1 parent 010bedb commit cc042a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/bluetooth/host/conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ static int send_buf(struct bt_conn *conn, struct net_buf *buf,
} else if (is_acl_conn(conn)) {
err = send_acl(conn, frag, flags);
} else {
err = -EINVAL; /* Some animals disable asserts (╯°□°)╯︵ ┻━┻ */
err = -EINVAL; /* asserts may be disabled */
__ASSERT(false, "Invalid connection type %u", conn->type);
}

Expand Down

0 comments on commit cc042a6

Please sign in to comment.