From a97bde0af453e5e4bbe4b1fdd6883e258730fe10 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 15 Dec 2011 01:06:02 +0200 Subject: [PATCH] Android: Fix PNO start function conversion The wpa_hexdump_ascii() call did not get converted properly and this was missed becaused of it getting defined out from the build. Anyway, this better use the correct variable names should that debug print ever be enabled for Android. Signed-hostap: Jouni Malinen --- src/drivers/driver_nl80211.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index ed279c600..0a68c5fff 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -8607,7 +8607,8 @@ static int android_pno_start(struct i802_bss *bss, WEXT_PNO_NONSSID_SECTIONS_SIZE + 1) >= (int) sizeof(buf)) break; wpa_hexdump_ascii(MSG_DEBUG, "For PNO Scan", - ssid[i].ssid, ssid[i].ssid_len); + params->ssids[i].ssid, + params->ssids[i].ssid_len); buf[bp++] = WEXT_PNO_SSID_SECTION; buf[bp++] = params->ssids[i].ssid_len; os_memcpy(&buf[bp], params->ssids[i].ssid,