]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Do not add P2P IEs on P2P disabled interface
authorEdhar, Mahesh Kumar <c_medhar@qti.qualcomm.com>
Tue, 2 Sep 2014 05:03:44 +0000 (10:33 +0530)
committerJouni Malinen <j@w1.fi>
Tue, 2 Sep 2014 08:04:26 +0000 (11:04 +0300)
commit1c2aa04c96626f5b000d167bb5274a8c39b7dac2
tree1bc64787585c533c6ad84110a32df3c29fb1083a
parentd885a0ba7c528fb29f4b5abdb6a9e3898b1fdd95
P2P: Do not add P2P IEs on P2P disabled interface

While building Association Request frame IEs we should consider adding
P2P IEs only on interface where P2P functionality is enabled. Consider
per interface p2p_disabled parameter before adding P2P IEs to complete
the checks for this.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/p2p_supplicant.c