extmod/network_ninaw10: Add missing raw socket type to socket().
This regression was introduced by 3d46fe67bf
.
This commit is contained in:
parent
f34af3e42e
commit
b4a0390cbe
|
@ -497,6 +497,10 @@ STATIC int network_ninaw10_socket_socket(mod_network_socket_obj_t *socket, int *
|
|||
socket_type = NINA_SOCKET_TYPE_UDP;
|
||||
break;
|
||||
|
||||
case MOD_NETWORK_SOCK_RAW:
|
||||
socket_type = NINA_SOCKET_TYPE_RAW;
|
||||
break;
|
||||
|
||||
default:
|
||||
*_errno = MP_EINVAL;
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue