Bluetooth: conn: Move bt_conn_connected to ACL group

Move the bt_conn_connected function to the ACL group.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
diff --git a/subsys/bluetooth/host/conn.c b/subsys/bluetooth/host/conn.c
index 374edb3..bcc222a 100644
--- a/subsys/bluetooth/host/conn.c
+++ b/subsys/bluetooth/host/conn.c
@@ -761,12 +761,6 @@
 	return NULL;
 }
 
-void bt_conn_connected(struct bt_conn *conn)
-{
-	bt_l2cap_connected(conn);
-	notify_connected(conn);
-}
-
 void bt_conn_set_state(struct bt_conn *conn, bt_conn_state_t state)
 {
 	bt_conn_state_t old_state;
@@ -1103,6 +1097,12 @@
 /* Group Connected BT_CONN only in this */
 #if defined(CONFIG_BT_CONN)
 
+void bt_conn_connected(struct bt_conn *conn)
+{
+	bt_l2cap_connected(conn);
+	notify_connected(conn);
+}
+
 static int conn_disconnect(struct bt_conn *conn, uint8_t reason)
 {
 	int err;