From: Jouni Malinen Date: Sun, 24 Feb 2013 11:12:32 +0000 (+0200) Subject: WPS: Clear sent_carrier to avoid errors in python script X-Git-Tag: aosp-kk-from-upstream~537 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03cd173bd8941243a41dfa2351247202b0b087ff;p=thirdparty%2Fhostap.git 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 --- 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);