Hi,<br><br>wpa_cli example is using 1 socket for both control and monitor. <br>However it is more convenient to use different sockets for control and monitor.<br>The problem:<br>Command "level Number" that is used to set debug_level variable "arrives" to <br>
wpa_supplicant_ctrl_iface_level() call from ctrl_iface_unix.c<br>wpa_supplicant_ctrl_iface_level() checks that from-path and dest-path are the same and only then change debug_level. <br> However, dest-path is monitor socket, and command is done through control interface, so they differ and you can not set debug_level.<br>
<br>The simplest solution is to remove this check or restrict it to smaller path size...<br>What is the better one ?<br><br>Thanks,<br><br>Dmitry<br>