mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-30 08:44:03 -05:00
WPS: Convert printf() debug print to use wpa_printf()
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
8674c02244
commit
ea6fc58ccf
@ -3453,7 +3453,7 @@ int wps_registrar_config_ap(struct wps_registrar *reg,
|
|||||||
struct wps_credential *cred)
|
struct wps_credential *cred)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_WPS2
|
#ifdef CONFIG_WPS2
|
||||||
printf("encr_type=0x%x\n", cred->encr_type);
|
wpa_printf(MSG_DEBUG, "WPS: encr_type=0x%x", cred->encr_type);
|
||||||
if (!(cred->encr_type & (WPS_ENCR_NONE | WPS_ENCR_TKIP |
|
if (!(cred->encr_type & (WPS_ENCR_NONE | WPS_ENCR_TKIP |
|
||||||
WPS_ENCR_AES))) {
|
WPS_ENCR_AES))) {
|
||||||
if (cred->encr_type & WPS_ENCR_WEP) {
|
if (cred->encr_type & WPS_ENCR_WEP) {
|
||||||
|
Loading…
Reference in New Issue
Block a user