OSDN Git Service

ath10k: Remove dedicated p2p_device interface capability for wcn3990
authorRakesh Pillai <pillair@codeaurora.org>
Tue, 15 Aug 2017 12:17:15 +0000 (17:47 +0530)
committerRakesh Pillai <pillair@codeaurora.org>
Wed, 16 Aug 2017 12:14:04 +0000 (17:44 +0530)
commitd0f439e4cae6c9b8c64f148bb01edae1d317909b
tree40e0326b1c013e5e2b3203c2483a75c3c71d0a78
parent39b5f76de03e17a0b80cb94a92496b1f95bf32b0
ath10k: Remove dedicated p2p_device interface capability for wcn3990

p2p_find uses primary interface mac address during active
scan instead of the later created p2p interface on which
wpa_supplicant is running.

wpa_supplicant creates a p2p_device interface if the driver
exposes a dedicated p2p_device interface capability. The mac
address for the created p2p_device interface will be same as of
the primary interface registered with the netdev.

By disabling the dedicated p2p_device interface capabilty
for wcn3990, wpa_supplicant uses the interface passed to it
from commandline interface and hence will use the correct
mac address for the active scan purpose.

CRs-Fixed: 2092523
Change-Id: I42ff819bb195e5f5dd7fef9908786621996e93b7
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
drivers/net/wireless/ath/ath10k/mac.c