aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/wps-ap-nfc.py
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 /hostapd/wps-ap-nfc.py
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 'hostapd/wps-ap-nfc.py')
-rwxr-xr-xhostapd/wps-ap-nfc.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/hostapd/wps-ap-nfc.py b/hostapd/wps-ap-nfc.py
index 92e9aab..4b2ca02 100755
--- a/hostapd/wps-ap-nfc.py
+++ b/hostapd/wps-ap-nfc.py
@@ -15,6 +15,9 @@ import nfc.ndef
import nfc.llcp
import nfc.handover
+import logging
+logging.basicConfig()
+
import wpactrl
wpas_ctrl = '/var/run/hostapd'