Parcourir la source

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>
Jouni Malinen il y a 13 ans
Parent
commit
a97bde0af4
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/drivers/driver_nl80211.c

+ 2 - 1
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,