]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Do not allow scan or normal association on cfg80211 P2P Device
authorJouni Malinen <j@w1.fi>
Sun, 1 Mar 2015 09:23:09 +0000 (11:23 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 1 Mar 2015 09:23:09 +0000 (11:23 +0200)
commit44b9ea5bb2e22311c33fb4981598683df243175b
tree8fb99add415e6781f5f57a627e76d99d0289a491
parent6d0b4474643c22229b1548042c2624e877f73e3c
P2P: Do not allow scan or normal association on cfg80211 P2P Device

The dedicated P2P management instance (wpas->p2p_mgmt == 1) using
cfg80211 P2P Device cannot be used for non-P2P uses or connection (there
is no netdev). Reject or ignore such operations to avoid unexpected
operations if enabled network blocks are configured in the
wpa_supplicant instance used to control this interface.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/events.c
wpa_supplicant/scan.c
wpa_supplicant/wpa_supplicant.c