Commit b4a0390c authored by iabdalkader's avatar iabdalkader Committed by Damien George

extmod/network_ninaw10: Add missing raw socket type to socket().

This regression was introduced by 3d46fe67.
parent f34af3e4
...@@ -497,6 +497,10 @@ STATIC int network_ninaw10_socket_socket(mod_network_socket_obj_t *socket, int * ...@@ -497,6 +497,10 @@ STATIC int network_ninaw10_socket_socket(mod_network_socket_obj_t *socket, int *
socket_type = NINA_SOCKET_TYPE_UDP; socket_type = NINA_SOCKET_TYPE_UDP;
break; break;
case MOD_NETWORK_SOCK_RAW:
socket_type = NINA_SOCKET_TYPE_RAW;
break;
default: default:
*_errno = MP_EINVAL; *_errno = MP_EINVAL;
return -1; return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment