D-Bus: Fix dict binarray getter to accept empty array of array
authorJouni Malinen <j@w1.fi>
Wed, 31 Dec 2014 11:32:47 +0000 (13:32 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 31 Dec 2014 11:34:52 +0000 (13:34 +0200)
commit5f3682dc6f3959cb2e1693a0ec64745696dfc7bc
tree7690c352415fbac0cb3a5d0f2aad1b145173c69f
parent54e06b4ffba38c091b1e39de39cd771d6c9031c8
D-Bus: Fix dict binarray getter to accept empty array of array

This is needed to allow Set(P2PDeviceConfig) to clear the
VendorExtension array (i.e., to remove all configured vendor
extensions). Previously, such an attempt was met with a D-Bus assert and
rejection of the operation.

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