WPS: Configure logging to show nfcpy log message

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2013-02-10 16:20:25 +02:00
parent 68f51f9af8
commit 8140ae969b
2 changed files with 7 additions and 1 deletions

View file

@ -15,6 +15,9 @@ import nfc.ndef
import nfc.llcp
import nfc.handover
import logging
logging.basicConfig()
import wpactrl
wpas_ctrl = '/var/run/hostapd'

View file

@ -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'