Changeset 6b82009 in mainline for uspace/srv/net/netif/lo/lo.c
- Timestamp:
- 2011-06-22T20:41:41Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ef09a7a
- Parents:
- 55091847
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/netif/lo/lo.c
r55091847 r6b82009 148 148 null_device_stats((device_stats_t *) (*device)->specific); 149 149 (*device)->device_id = device_id; 150 (*device)->nil_phone = -1;151 150 (*device)->state = NETIF_STOPPED; 152 151 int index = netif_device_map_add(&netif_globals.device_map, … … 202 201 } while (next); 203 202 204 int phone = device->nil_phone;203 async_sess_t *nil_sess = netif_globals.nil_sess; 205 204 fibril_rwlock_write_unlock(&netif_globals.lock); 206 205 207 nil_received_msg( phone, device_id, packet, sender);206 nil_received_msg(nil_sess, device_id, packet, sender); 208 207 209 208 fibril_rwlock_write_lock(&netif_globals.lock); … … 226 225 { 227 226 /* Start the module */ 228 return netif_module_start( );227 return netif_module_start(SERVICE_NILDUMMY); 229 228 } 230 229
Note:
See TracChangeset
for help on using the changeset viewer.