Changeset ca2d142 in mainline for uspace/srv/net/netif/dp8390/dp8390.c
- Timestamp:
- 2010-02-18T10:00:30Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e326edc
- Parents:
- b8da2a3 (diff), 91478aa (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/netif/dp8390/dp8390.c
rb8da2a3 rca2d142 350 350 tmp = pq_next( tmp ); 351 351 } 352 if( ! pq_add( tmp, packet, 0, 0 )){352 if( pq_add( & tmp, packet, 0, 0 ) != EOK ){ 353 353 return EINVAL; 354 354 } … … 1006 1006 int last, count; 1007 1007 packet_t packet; 1008 packet_t queue;1009 1008 1010 1009 // if (!(dep->de_flags & DEF_READING)) … … 1045 1044 return ELIMIT; 1046 1045 }else{ 1047 queue = pq_add( dep->received_queue, packet, 0, 0 ); 1048 if( queue ){ 1049 dep->received_queue = queue; 1046 if( pq_add( & dep->received_queue, packet, 0, 0 ) == EOK ){ 1050 1047 ++ dep->received_count; 1051 1048 }else{
Note:
See TracChangeset
for help on using the changeset viewer.