Skip to content

Commit

Permalink
Merge pull request #44 from WFA-RickWang/wfadev
Browse files Browse the repository at this point in the history
Remove unnecessary network profile setting for sending ANQP query
  • Loading branch information
WFA-RickWang authored Oct 14, 2021
2 parents 3d4c211 + 498fff6 commit 6da2723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indigo_api_callback_dut.c
Original file line number Diff line number Diff line change
Expand Up @@ -1810,7 +1810,7 @@ static int send_sta_anqp_query_handler(struct packet_wrapper *req, struct packet

/* It may need to check whether to just scan */
memset(buffer, 0, sizeof(buffer));
len = sprintf(buffer, "ctrl_interface=%s\nap_scan=1\nnetwork={\nssid=\"Scanning\"\n}", WPAS_CTRL_PATH_DEFAULT);
len = sprintf(buffer, "ctrl_interface=%s\nap_scan=1\n", WPAS_CTRL_PATH_DEFAULT);
if (len) {
write_file(get_wpas_conf_file(), buffer, len);
}
Expand Down

0 comments on commit 6da2723

Please sign in to comment.