aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xhostapd/wps-ap-nfc.py2
-rwxr-xr-xwpa_supplicant/examples/wps-nfc.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/hostapd/wps-ap-nfc.py b/hostapd/wps-ap-nfc.py
index 7f81a34..61fa677 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 1ab59c3..c328a90 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"):