Skip to content

Commit

Permalink
extmod/network_ninaw10: Add missing raw socket type to socket().
Browse files Browse the repository at this point in the history
This regression was introduced by 3d46fe6.
  • Loading branch information
iabdalkader authored and dpgeorge committed Apr 4, 2023
1 parent f34af3e commit b4a0390
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extmod/network_ninaw10.c
Expand Up @@ -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;
Expand Down

0 comments on commit b4a0390

Please sign in to comment.