aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/wps-ap-nfc.py
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2013-02-24 11:12:32 (GMT)
committerJouni Malinen <j@w1.fi>2013-02-24 11:12:32 (GMT)
commit03cd173bd8941243a41dfa2351247202b0b087ff (patch)
treed13b4942586860e9d37562538cab27219f65f92d /hostapd/wps-ap-nfc.py
parentd8ed3a075ae0891cc697e9100274169b491ce6f9 (diff)
downloadhostap-03cd173bd8941243a41dfa2351247202b0b087ff.zip
hostap-03cd173bd8941243a41dfa2351247202b0b087ff.tar.gz
hostap-03cd173bd8941243a41dfa2351247202b0b087ff.tar.bz2
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 <jouni@qca.qualcomm.com>
Diffstat (limited to 'hostapd/wps-ap-nfc.py')
-rwxr-xr-xhostapd/wps-ap-nfc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/hostapd/wps-ap-nfc.py b/hostapd/wps-ap-nfc.py
index 32a0214..6ad0b43 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);