Skip to content

Commit 6905b1b

Browse files
committed
Incorporate review comments from @kjbracey-arm
1 parent 5168bbd commit 6905b1b

File tree

11 files changed

+246
-187
lines changed

11 files changed

+246
-187
lines changed

features/lwipstack/LWIPStack.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ nsapi_error_t LWIP::socket_open(nsapi_socket_t *handle, nsapi_protocol_t proto)
238238
} else if (proto == NSAPI_ICMP) {
239239
netconntype = NETCONN_RAW;
240240
} else {
241-
return NSAPI_ERROR_PROTO_UNKNOWN;
241+
return NSAPI_ERROR_UNSUPPORTED;
242242
}
243243

244244
#if LWIP_IPV6

features/lwipstack/lwipopts.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181

8282
#define SYS_LIGHTWEIGHT_PROT 1
8383

84-
#define LWIP_RAW MBED_CONF_LWIP_RAWIPSOCKET_ENABLED
84+
#define LWIP_RAW MBED_CONF_LWIP_RAW_SOCKET_ENABLED
8585

8686
#define MEMP_NUM_TCPIP_MSG_INPKT MBED_CONF_LWIP_MEMP_NUM_TCPIP_MSG_INPKT
8787
#define TCPIP_MBOX_SIZE MBED_CONF_LWIP_TCPIP_MBOX_SIZE

0 commit comments

Comments
 (0)