From: Jouni Malinen Date: Wed, 14 Dec 2011 23:06:02 +0000 (+0200) Subject: Android: Fix PNO start function conversion X-Git-Tag: aosp-jb-start~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a97bde0af453e5e4bbe4b1fdd6883e258730fe10;p=thirdparty%2Fhostap.git 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 --- 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,