Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4731 → Rev 4730

/branches/network/uspace/srv/net/netif/dp8390/dp8390_module.c
221,10 → 221,6
packet_t next;
 
ERROR_PROPAGATE( find_device( device_id, & device ));
if( device->state != NETIF_ACTIVE ){
netif_pq_release( packet_get_id( packet ));
return EFORWARD;
}
dep = ( dpeth_t * ) device->specific;
// process packet queue
do{
/branches/network/uspace/srv/net/netif/lo/lo.c
185,10 → 185,7
int phone;
 
ERROR_PROPAGATE( find_device( device_id, & device ));
if( device->state != NETIF_ACTIVE ){
netif_pq_release( packet_get_id( packet ));
return EFORWARD;
}
if( device->state != NETIF_ACTIVE ) return EPERM;
next = packet;
do{
++ (( device_stats_ref ) device->specific )->send_packets;
/branches/network/uspace/srv/net/netif/netif_module.h
66,7 → 66,6
* @param packet The packet queue. Input parameter.
* @param sender The sending module service. Input parameter.
* @returns EOK on success.
* @returns EFORWARD if the device is not active (in the NETIF_ACTIVE state).
* @returns Other error codes as defined for the find_device() function.
* @returns Other error codes as defined for the specific module message implementation.
*/