mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-18 08:32:33 +01:00
device: Fix type passed to l_dbus_message_builder_append_basic
l_dbus_message_builder_append_basic is expecting an int16 for DBus type 'n'.
This commit is contained in:
parent
40013e9981
commit
986b5eae60
@ -1384,7 +1384,7 @@ static struct l_dbus_message *device_get_networks(struct l_dbus *dbus,
|
||||
entry = entry->next) {
|
||||
const struct network *network = entry->data;
|
||||
enum security security = network_get_security(network);
|
||||
int32_t signal_strength = network_get_signal_strength(network);
|
||||
int16_t signal_strength = network_get_signal_strength(network);
|
||||
|
||||
l_dbus_message_builder_enter_struct(builder, "osns");
|
||||
l_dbus_message_builder_append_basic(builder, 'o',
|
||||
|
Loading…
Reference in New Issue
Block a user