D-Bus: Make WPAS_DBUS_TYPE_BINARRAY value less confusing
authorJouni Malinen <j@w1.fi>
Wed, 31 Dec 2014 13:46:08 +0000 (15:46 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 1 Jan 2015 11:51:45 +0000 (13:51 +0200)
commitbc7baaff24b179b7e52bb7ef6c2a816566828faa
tree1655f7f54d5de4ab8ee373a06ec261aaed75e4a1
parent5f3682dc6f3959cb2e1693a0ec64745696dfc7bc
D-Bus: Make WPAS_DBUS_TYPE_BINARRAY value less confusing

Commit 911e97e4002019e577bb1086f1fd02daff978544 ('DBus: Refactor array
adding, add binary arrays') introduced WPAS_DBUS_TYPE_BINARRAY as an
internal fake type for array_type. However, it selected this value to be
(DBUS_NUMBER_OF_TYPES + 100) = 116 = 't'. This happens to conflict with
DBUS_TYPE_UINT64 ((int) 't'). While none of the existing array_type use
cases supported UINT64, it is much clearer if WPAS_DBUS_TYPE_BINARRAY
has a value that does not match any existing DBUS_TYPE_* value. Replace
this with '@' (64).

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