P2P: Support dedicated P2P_DEVICE without separate group interface
authorLior David <qca_liord@qca.qualcomm.com>
Sun, 24 Jan 2016 15:36:49 +0000 (17:36 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 27 Feb 2016 17:37:19 +0000 (19:37 +0200)
commit96a26ab744ac938b644ef862f045bd99834df61a
treeef40ceb6c99fc9dc26480d17465c56c3ee020064
parentba307f8528b1242c931a57feb21cd30286126916
P2P: Support dedicated P2P_DEVICE without separate group interface

Add support for drivers with dedicated P2P_DEVICE interface, but without
group interface concurrency (only a single netdev is used). With such
devices, wpa_supplicant tried to use the p2p_dev interface instead of
the group interface and most P2P operations failed. Extend
wpa_supplicant to use the primary interface instead of a separate group
interface in such cases.

Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/wpa_supplicant.c