diff --git a/hostapd/wps-ap-nfc.py b/hostapd/wps-ap-nfc.py index 92e9aab75..4b2ca0237 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' diff --git a/wpa_supplicant/examples/wps-nfc.py b/wpa_supplicant/examples/wps-nfc.py index 0cfc1f684..aa386c2c6 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 +# Copyright (c) 2012-2013, Jouni Malinen # # 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'