Bluetooth: Fix passing bool instead of NULL pointer
Change-Id: I230c7b450587d85ba96cd4c71653eff0d9d56dcc Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
bf8179be9e
commit
c692c1672a
1 changed files with 1 additions and 1 deletions
|
@ -834,7 +834,7 @@ int bt_conn_disconnect(struct bt_conn *conn, uint8_t reason)
|
|||
* starts advertising.
|
||||
*/
|
||||
if (conn->type == BT_CONN_TYPE_LE) {
|
||||
bt_le_set_auto_conn(&conn->le.dst, false);
|
||||
bt_le_set_auto_conn(&conn->le.dst, NULL);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue