3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 02:19:26 +01:00

wiphy: Make const correct

This commit is contained in:
Denis Kenzior 2014-11-03 15:36:52 -06:00
parent 2f852d2954
commit e7bd2276de

View File

@ -80,7 +80,7 @@ static void do_debug(const char *str, void *user_data)
l_info("%s%s", prefix, str);
}
static const char *iwd_network_get_path(struct network *network)
static const char *iwd_network_get_path(const struct network *network)
{
static char path[256];
@ -92,7 +92,7 @@ static const char *iwd_network_get_path(struct network *network)
return path;
}
static bool __iwd_network_append_properties(struct network *network,
static bool __iwd_network_append_properties(const struct network *network,
struct l_dbus_message_builder *builder)
{
l_dbus_message_builder_enter_array(builder, "{sv}");