From 3106df8aa07761f51413fda85c29072ded16bde8 Mon Sep 17 00:00:00 2001 From: Arman Uguray Date: Thu, 23 Apr 2015 17:11:59 -0700 Subject: [PATCH] core/advertising: Rename IncludeTXPower This patch renames IncludeTXPower to IncludeTxpower to keep consistency across D-Bus interfaces. --- src/advertising.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/advertising.c b/src/advertising.c index 7d69ee1cd..cd78584b9 100644 --- a/src/advertising.c +++ b/src/advertising.c @@ -382,7 +382,7 @@ static bool parse_advertising_include_tx_power(GDBusProxy *proxy, DBusMessageIter iter; dbus_bool_t b; - if (!g_dbus_proxy_get_property(proxy, "IncludeTXPower", &iter)) + if (!g_dbus_proxy_get_property(proxy, "IncludeTxPower", &iter)) return true; if (dbus_message_iter_get_arg_type(&iter) != DBUS_TYPE_BOOLEAN) @@ -525,7 +525,7 @@ static DBusMessage *parse_advertisement(struct advertisement *ad) if (!parse_advertising_include_tx_power(ad->proxy, &ad->include_tx_power)) { - error("Property \"IncludeTXPower\" failed to parse"); + error("Property \"IncludeTxPower\" failed to parse"); goto fail; } -- 2.47.3