+ Jouni On 11/8/2018 4:48 AM, Chi-Hsien Lin wrote:
From: Madhan Mohan R <MadhanMohan.R@xxxxxxxxxxx> Send p2p presence response from the p2p interface address instead of the p2p device address. This is needed for p2p cert 6.1.9 to pass.
I am not really into the P2P spec, but if this is indeed a requirement (@Jouni: can you confirm?) I would expect wpa_supplicant to send the action frame over the correct netdevice (although there is no netdev for P2P_DEVICE interface so expect primary interface will be used).
So instead of looking at the action frame subtype it seems to be more appropriate to determine and pass the appropriate vif in brcmf_p2p_send_action_frame().
Regards, Arend
Signed-off-by: Madhan Mohan R <MadhanMohan.R@xxxxxxxxxxx> Signed-off-by: Chi-Hsien Lin <chi-hsien.lin@xxxxxxxxxxx> --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)