]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
WPS: Remove 0.5 sec extra wait from NFC handover with nfcpy
authorJouni Malinen <j@w1.fi>
Sun, 10 Feb 2013 14:27:14 +0000 (16:27 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 10 Feb 2013 14:27:14 +0000 (16:27 +0200)
Signed-hostap: Jouni Malinen <j@w1.fi>

hostapd/wps-ap-nfc.py
wpa_supplicant/examples/wps-nfc.py

index 342340d2103edacfb9a7fd6d8453dbc4f42eb494..e515d6677068a2dc487a73830a3beecb51b0249a 100755 (executable)
@@ -92,7 +92,6 @@ def wps_handover_init(peer):
     print "Parsed handover request: " + message.pretty()
 
     nfc.llcp.activate(peer);
-    time.sleep(0.5)
 
     client = nfc.handover.HandoverClient()
     try:
index dd0b2fd76177dd88b726f53ead9fc61e0718b18b..9830a22cbb8328b3bd84f43293831bb8b58224ac 100755 (executable)
@@ -78,7 +78,6 @@ def wps_handover_init(peer):
     print "Parsed handover request: " + message.pretty()
 
     nfc.llcp.activate(peer);
-    time.sleep(0.5)
 
     client = nfc.handover.HandoverClient()
     try: