From 03cd173bd8941243a41dfa2351247202b0b087ff Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 24 Feb 2013 13:12:32 +0200 Subject: [PATCH] WPS: Clear sent_carrier to avoid errors in python script This is needed to avoid errors when reporting the result of an NFC connection handover that failed. Signed-hostap: Jouni Malinen --- hostapd/wps-ap-nfc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hostapd/wps-ap-nfc.py b/hostapd/wps-ap-nfc.py index 32a021451..6ad0b4305 100755 --- a/hostapd/wps-ap-nfc.py +++ b/hostapd/wps-ap-nfc.py @@ -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);