tests: Make ap_wps_er_http_proto more robust
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 11 Aug 2016 12:58:13 +0000 (15:58 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 11 Aug 2016 12:58:13 +0000 (15:58 +0300)
commit2d6a526ac3885605f34df4037fc79ad330565b23
treebfa02708ca7efb7eaa33027c577698fee76db4e8
parentf27b9277d5a5737be2a671e9930fbb2e0f01f3cd
tests: Make ap_wps_er_http_proto more robust

It looks like connect() for a TCP socket can time out at least with a
recent kernel. Handle that case more gracefully by ignoring that socket
while allowing the test to continue.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_ap_wps.py