mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-16 23:40:43 +01:00
wiphy: Make const correct
This commit is contained in:
parent
2f852d2954
commit
e7bd2276de
@ -80,7 +80,7 @@ static void do_debug(const char *str, void *user_data)
|
|||||||
l_info("%s%s", prefix, str);
|
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];
|
static char path[256];
|
||||||
|
|
||||||
@ -92,7 +92,7 @@ static const char *iwd_network_get_path(struct network *network)
|
|||||||
return path;
|
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)
|
struct l_dbus_message_builder *builder)
|
||||||
{
|
{
|
||||||
l_dbus_message_builder_enter_array(builder, "{sv}");
|
l_dbus_message_builder_enter_array(builder, "{sv}");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user