I'm trying to create socket client on QCA4020 device,
the steps I follow:
- enable Wlan
- connect to router
- get IP from DHCP server
then after dhcp callback called, my attempt to call -> qapi_socket(AF_INET, SOCK_STREAM, 0)
returns -1, so I cannot create a socket.
Is there anything that I missed to initialize before creating socket?