You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
10 years ago
..
Makefile wpaspy: Add Python bindings for wpa_ctrl 11 years ago
setup.py wpaspy: Add Python bindings for wpa_ctrl 11 years ago
test.py wpaspy: Fix exception handling in the test script 11 years ago
wpaspy.c wpaspy: Add Python bindings for wpa_ctrl 11 years ago
wpaspy.py wpaspy: Handle DETACH response more robustly 10 years ago