Skip to content

Commit

Permalink
Remove unnecessary network profile setting for sending ANQP query
Browse files Browse the repository at this point in the history
This avoids Intel STA driver crashed when applied this setting.
  • Loading branch information
WFA-RickWang committed Oct 14, 2021
1 parent 3d4c211 commit 498fff6
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 498fff6

Please sign in to comment.