<div dir="ltr">Hello everybody,<div><br></div><div>I'm developing an application on an embedded linux device on top of wpa_supplicant daemon. I'm using the wpa_ctrl interface to interact with the daemon.</div><div>
My problem is that after 200-300 commands sent to wpa_supplicant daemon (mainly scan, scan_results, add_network, set_network, enable_nework) wpa_ctrl_request() returns timeout (-2) and if I continue to send commands then after another 5-6 commands it will stop returning timeout and the call simply hangs forever. Restarting the wpa_supplicant daemon seems to fix the problem, but implementing such a mechanism in my application is not easy and straightforward and I would avoid this.</div>
<div><br></div><div>The network to which I'm connecting is using WPA2 authentication.</div><div>The version of wpa_supplicant that I use is 0.7.3.</div><div><br></div><div>Researching on the internet, I found a few posts with this problem, but no answer. So, please help!</div>
<div><br></div><div>Thank you and looking forward for your answers!</div><div><br></div><div><br></div></div>