]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant_i.h
D-Bus Fix network_is_persistent_group() for P2P operations
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 29 Apr 2015 17:48:07 +0000 (20:48 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 29 Apr 2015 17:52:22 +0000 (20:52 +0300)
commit5aeebc48e8449e39a8ad0f2f1c525464ad94e837
tree48fedd7a07364d72397ec50ea43815219e147fb3
parent5441da2beb99c67e4f7790b114c65a2cc748f166
D-Bus Fix network_is_persistent_group() for P2P operations

Commit c2762e410fa319f75a174aeb12343beddf99fce4 ('P2P: Update D-Bus
network object semantics during group formation') added this helper
function to determine whether a network block is used for storing a
persistent group information. However, it implemented this in a way that
matches both persistent group storage and an operating persist group
instance. This does not seem to match the expected behavior for the
D-Bus objects, so fix this to match only the persistent group storage
case to avoid registering/unregistered incorrect D-Bus objects for
groups.

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