aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/examples
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-02-10 14:20:25 (GMT)
committerJouni Malinen <j@w1.fi>2013-02-10 14:20:25 (GMT)
commit8140ae969b2c67f3a119a7a33a503012510f1170 (patch)
treea0794f109c9ff0273a8c9c26ce2cef9555ec9b07 /wpa_supplicant/examples
parent68f51f9af8e516c1d9e9972b1a842d879d1bd450 (diff)
downloadhostap-8140ae969b2c67f3a119a7a33a503012510f1170.zip
hostap-8140ae969b2c67f3a119a7a33a503012510f1170.tar.gz
hostap-8140ae969b2c67f3a119a7a33a503012510f1170.tar.bz2
WPS: Configure logging to show nfcpy log message
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/examples')
-rwxr-xr-xwpa_supplicant/examples/wps-nfc.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/wpa_supplicant/examples/wps-nfc.py b/wpa_supplicant/examples/wps-nfc.py
index 0cfc1f6..aa386c2 100755
--- a/wpa_supplicant/examples/wps-nfc.py
+++ b/wpa_supplicant/examples/wps-nfc.py
@@ -1,7 +1,7 @@
#!/usr/bin/python
#
# Example nfcpy to wpa_supplicant wrapper for WPS NFC operations
-# Copyright (c) 2012, Jouni Malinen <j@w1.fi>
+# Copyright (c) 2012-2013, Jouni Malinen <j@w1.fi>
#
# This software may be distributed under the terms of the BSD license.
# See README for more details.
@@ -15,6 +15,9 @@ import nfc.ndef
import nfc.llcp
import nfc.handover
+import logging
+logging.basicConfig()
+
import wpactrl
wpas_ctrl = '/var/run/wpa_supplicant'