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:
Johan Hedberg 2015-12-07 12:05:57 +02:00 committed by Anas Nashif
commit c692c1672a

View file

@ -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