aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-12-14 23:06:02 (GMT)
committerJouni Malinen <j@w1.fi>2011-12-14 23:06:02 (GMT)
commita97bde0af453e5e4bbe4b1fdd6883e258730fe10 (patch)
treeae483dde15cb9053e19f19015cdb962108ad11ba /src
parentaa543c0c33cb4f6ad2f3ca3e3f6c30a1e0ebf535 (diff)
downloadhostap-a97bde0af453e5e4bbe4b1fdd6883e258730fe10.zip
hostap-a97bde0af453e5e4bbe4b1fdd6883e258730fe10.tar.gz
hostap-a97bde0af453e5e4bbe4b1fdd6883e258730fe10.tar.bz2
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 <j@w1.fi>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/driver_nl80211.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index ed279c6..0a68c5f 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,