wpaspy: Fix tracking of attached status
authorJouni Malinen <j@w1.fi>
Mon, 30 Dec 2013 20:23:18 +0000 (22:23 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 31 Dec 2013 07:29:14 +0000 (09:29 +0200)
commitb44db5f6d6698fe7cf7f603e3f99cfe169a8706d
tree2ebe609492e27f081f2d8f308ee78a8cf31f191b
parent2eef5177adbf8d14c800fba90f7fb0ccce36db6d
wpaspy: Fix tracking of attached status

The attached variable was initialized and checked, but never updated.
Fix that by updating it on successful ATTACH/DETACH command.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpaspy/wpaspy.py