]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Fix TDLS and l2_packet init without P2P Device interface
authorJouni Malinen <j@w1.fi>
Sun, 30 Jun 2013 17:02:25 +0000 (20:02 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 30 Jun 2013 17:02:25 +0000 (20:02 +0300)
commit1c42b42f6cd86fc4fc1c70c7531dc7c28b1c5646
treeb8f636f2b52684cda236e7c31d0e88cec4b62d09
parent9e6a321815f924e1e42896538d639e62d7786f6a
P2P: Fix TDLS and l2_packet init without P2P Device interface

Commit c68f6200a72f2b33304f583859b09e57757b9d2a made these calls
conditional on !p2p_mgmt, but forced p2p_mgmt=1 for cases where the
driver does not use the dedicated P2P Device. Fix this by making the
!p2p_mgmt condition apply only if the driver does indicate use of a
dedicated P2P Device.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/wpa_supplicant.c