Skip to content

Commit 679ad39

Browse files
committed
drivers: wifi: eswifi: Ignore F_GETFL and F_SETFL ioctl calls.
1 parent 47b63c3 commit 679ad39

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/wifi/eswifi/eswifi_socket_offload.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,12 @@ int eswifi_socket_create(int family, int type, int proto)
610610
static int eswifi_socket_ioctl(void *obj, unsigned int request, va_list args)
611611
{
612612
switch (request) {
613+
case F_GETFL:
614+
LOG_WRN("F_GETFL not supported, returning flags as 0");
615+
return 0;
616+
case F_SETFL:
617+
LOG_WRN("F_SETFL not supported, ignoring flags");
618+
return 0;
613619
case ZFD_IOCTL_POLL_PREPARE:
614620
return -EXDEV;
615621

0 commit comments

Comments
 (0)