Changes in uspace/lib/net/il/il_skel.c [6b82009:9934f7d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/il/il_skel.c
r6b82009 r9934f7d 38 38 #include <bool.h> 39 39 #include <errno.h> 40 #include <ns.h>41 40 #include <il_skel.h> 42 41 #include <net_interface.h> 43 42 #include <net/modules.h> 43 44 // FIXME: remove this header 45 #include <kernel/ipc/ipc_methods.h> 44 46 45 47 /** Default thread for new connections. … … 97 99 * @return Other error codes as defined for the il_initialize() 98 100 * function. 101 * @return Other error codes as defined for the REGISTER_ME() macro 102 * function. 99 103 * 100 104 */ 101 int il_module_start( sysarg_t service)105 int il_module_start(int service) 102 106 { 103 107 async_set_client_connection(il_client_connection); 104 async_sess_t *sess= net_connect_module();105 if ( !sess)106 return ENOENT;108 int net_phone = net_connect_module(); 109 if (net_phone < 0) 110 return net_phone; 107 111 108 112 int rc = pm_init(); … … 110 114 return rc; 111 115 112 rc = il_initialize( sess);116 rc = il_initialize(net_phone); 113 117 if (rc != EOK) 114 118 goto out; 115 119 116 rc = service_register(service);120 rc = async_connect_to_me(PHONE_NS, service, 0, 0, NULL, NULL); 117 121 if (rc != EOK) 118 122 goto out;
Note:
See TracChangeset
for help on using the changeset viewer.