Changeset 1affcdf3 in mainline for uspace/srv/net/net/net.c
- Timestamp:
- 2011-06-10T19:33:41Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1878386
- Parents:
- 13ecdac9 (diff), 79a141a (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/net/net.c
r13ecdac9 r1affcdf3 41 41 #include <ctype.h> 42 42 #include <ddi.h> 43 #include <ns.h> 43 44 #include <errno.h> 44 45 #include <malloc.h> … … 339 340 goto out; 340 341 341 rc = async_connect_to_me(PHONE_NS, SERVICE_NETWORKING, 0, 0, NULL);342 rc = service_register(SERVICE_NETWORKING); 342 343 if (rc != EOK) 343 344 goto out; … … 638 639 639 640 *answer_count = 0; 641 642 if (!IPC_GET_IMETHOD(*call)) 643 return EOK; 644 640 645 switch (IPC_GET_IMETHOD(*call)) { 641 case IPC_M_PHONE_HUNGUP:642 return EOK;643 646 case NET_NET_GET_DEVICE_CONF: 644 647 rc = measured_strings_receive(&strings, &data, … … 703 706 704 707 /* End if told to either by the message or the processing result */ 705 if (( IPC_GET_IMETHOD(call) == IPC_M_PHONE_HUNGUP) || (res == EHANGUP))708 if ((!IPC_GET_IMETHOD(call)) || (res == EHANGUP)) 706 709 return; 707 710
Note:
See TracChangeset
for help on using the changeset viewer.