]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
WPS: Clear sent_carrier to avoid errors in python script
authorJouni Malinen <jouni@qca.qualcomm.com>
Sun, 24 Feb 2013 11:12:32 +0000 (13:12 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 24 Feb 2013 11:12:32 +0000 (13:12 +0200)
This is needed to avoid errors when reporting the result of an NFC
connection handover that failed.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

hostapd/wps-ap-nfc.py

index 32a02145153d8702103f256e2d657786549425b8..6ad0b430532d5841194bf6dfac7205a476cfe02b 100755 (executable)
@@ -120,6 +120,7 @@ def wps_handover_resp(peer):
     print "Trying to handle WPS handover"
 
     srv = HandoverServer()
+    srv.sent_carrier = None
 
     nfc.llcp.activate(peer);