diff --git a/hostapd/wps-ap-nfc.py b/hostapd/wps-ap-nfc.py index 7f81a34a3..61fa677b6 100755 --- a/hostapd/wps-ap-nfc.py +++ b/hostapd/wps-ap-nfc.py @@ -204,7 +204,7 @@ def find_peer(clf): if nfc.llcp.connected(): print "LLCP connected" general_bytes = nfc.llcp.startup({}) - peer = clf.listen(ord(os.urandom(1)) + 200, general_bytes) + peer = clf.listen(ord(os.urandom(1)) + 250, general_bytes) if isinstance(peer, nfc.DEP): print "listen -> DEP"; if peer.general_bytes.startswith("Ffm"): diff --git a/wpa_supplicant/examples/wps-nfc.py b/wpa_supplicant/examples/wps-nfc.py index 1ab59c3a3..c328a90f8 100755 --- a/wpa_supplicant/examples/wps-nfc.py +++ b/wpa_supplicant/examples/wps-nfc.py @@ -165,7 +165,7 @@ def find_peer(clf): if nfc.llcp.connected(): print "LLCP connected" general_bytes = nfc.llcp.startup({}) - peer = clf.listen(ord(os.urandom(1)) + 200, general_bytes) + peer = clf.listen(ord(os.urandom(1)) + 250, general_bytes) if isinstance(peer, nfc.DEP): print "listen -> DEP"; if peer.general_bytes.startswith("Ffm"):