diff options
author | Jouni Malinen <j@w1.fi> | 2013-02-10 16:49:20 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2013-02-10 16:49:20 (GMT) |
commit | bd692a8b0e087e0985f5da227fc6159ebbaa4d75 (patch) | |
tree | 15ceeecfa0f9f1a6c25fdfb64fd331c866f896f8 /hostapd/wps-ap-nfc.py | |
parent | b8dbc5d6891ab33eb11b40cc03749602ebe84288 (diff) | |
download | hostap-bd692a8b0e087e0985f5da227fc6159ebbaa4d75.zip hostap-bd692a8b0e087e0985f5da227fc6159ebbaa4d75.tar.gz hostap-bd692a8b0e087e0985f5da227fc6159ebbaa4d75.tar.bz2 |
WPS: Change listen time to match nfcpy default (250 ms)
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'hostapd/wps-ap-nfc.py')
-rwxr-xr-x | hostapd/wps-ap-nfc.py | 2 |
1 files changed, 1 insertions, 1 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"): |