Changes in uspace/lib/net/tl/tl_skel.c [9934f7d:6b82009] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/tl/tl_skel.c
r9934f7d r6b82009 38 38 #include <bool.h> 39 39 #include <errno.h> 40 #include <ns.h> 40 41 #include <tl_skel.h> 41 42 #include <net_interface.h> 42 43 #include <net/modules.h> 43 44 44 // FIXME: remove this header45 #include <kernel/ipc/ipc_methods.h>46 47 45 /** Default thread for new connections. 48 46 * 49 * @param[in] iid 50 * @param[in] icall 51 * @param[in] arg 47 * @param[in] iid The initial message identifier. 48 * @param[in] icall The initial message call structure. 49 * @param[in] arg Local argument. 52 50 * 53 51 */ … … 106 104 * 107 105 */ 108 int tl_module_start( int service)106 int tl_module_start(sysarg_t service) 109 107 { 110 108 async_set_client_connection(tl_client_connection); 111 int net_phone= net_connect_module();112 if ( net_phone < 0)113 return net_phone;109 async_sess_t *sess = net_connect_module(); 110 if (!sess) 111 return ENOENT; 114 112 115 113 int rc = pm_init(); … … 117 115 return rc; 118 116 119 rc = tl_initialize( net_phone);117 rc = tl_initialize(sess); 120 118 if (rc != EOK) 121 119 goto out; 122 120 123 rc = async_connect_to_me(PHONE_NS, service, 0, 0, NULL, NULL);121 rc = service_register(service); 124 122 if (rc != EOK) 125 123 goto out;
Note:
See TracChangeset
for help on using the changeset viewer.