]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Android: Fix PNO start function conversion
authorJouni Malinen <j@w1.fi>
Wed, 14 Dec 2011 23:06:02 +0000 (01:06 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 14 Dec 2011 23:06:02 +0000 (01:06 +0200)
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>

src/drivers/driver_nl80211.c

index ed279c600322c69c1cff9aa9744601b1107040fa..0a68c5fff15c6e05d07e67b99cfa587e9d9dd1e1 100644 (file)
@@ -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,