Skip to content

Commit

Permalink
sta_start_autonomous_go: Fix for 60G P2P test that start auto GO
Browse files Browse the repository at this point in the history
In 60G P2P tests, the name of the P2P management interface may be
different from the data interface (for example, it can be called
p2p-dev-wlan0). Make sure the correct interface name is used.

Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
  • Loading branch information
Alexei Avshalom Lazar authored and Jouni Malinen committed Dec 7, 2018
1 parent fd9f135 commit 0591d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p.c
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ static int cmd_sta_start_autonomous_go(struct sigma_dut *dut,
struct sigma_conn *conn,
struct sigma_cmd *cmd)
{
const char *intf = get_param(cmd, "Interface");
const char *intf = get_p2p_ifname(get_param(cmd, "Interface"));
const char *oper_chn = get_param(cmd, "OPER_CHN");
const char *ssid_param = get_param(cmd, "SSID");
#ifdef MIRACAST
Expand Down

0 comments on commit 0591d45

Please sign in to comment.