winc1500 driver blocks on listen #28953
Labels
area: Drivers
area: Networking
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Describe the bug
Using the winc1500 wireless device, listen calls from application block.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
sample runs to breakpoint.
Actual behaviour
sample is stuck in winc1500_accept(...) waiting for the accept semaphore.
This semaphore is given later by a callback when a client has connected.
Suggestion
Remove
k_sem_take(wait_sem, K_FOREVER)
from winc1500_accept.Remove
k_sem_give(&sd->wait_sem);
from winc1500_socket_cb, case SOCKET_MSG_ACCEPT:The text was updated successfully, but these errors were encountered: