hostap/wpaspy
Jouni Malinen 19318861a5 wpaspy: Handle DETACH response more robustly
There could be pending unsolicited event messages on the monitor socket
when the DETACH command is issued. As such, the response may be
something else then OK even if the actual detach operation succeeded.
Try to avoid this be dropping pending messages before issuing the detach
command. As an additional workaround, check the response against FAIL
instead of requiring OK so that the self.attached does not get left to
True incorrectly even if an additional event message were to be
received.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2014-04-28 16:54:09 +03:00
..
Makefile wpaspy: Add Python bindings for wpa_ctrl 2013-03-01 23:27:56 +02:00
setup.py wpaspy: Add Python bindings for wpa_ctrl 2013-03-01 23:27:56 +02:00
test.py wpaspy: Fix exception handling in the test script 2013-03-16 21:46:51 +02:00
wpaspy.c wpaspy: Add Python bindings for wpa_ctrl 2013-03-01 23:27:56 +02:00
wpaspy.py wpaspy: Handle DETACH response more robustly 2014-04-28 16:54:09 +03:00