From: James Prestwood <prestwoj@gmail.com>
To: iwd@lists.linux.dev
Cc: James Prestwood <prestwoj@gmail.com>
Subject: [PATCH v2 4/8] station: emit property changed for ConnectedAccessPoint
Date: Mon, 19 Aug 2024 10:51:47 -0700 [thread overview]
Message-ID: <20240819175151.1310546-4-prestwoj@gmail.com> (raw)
In-Reply-To: <20240819175151.1310546-1-prestwoj@gmail.com>
This was missed in a prior patch set. When station is connecting
or disconnecting ConnectedAccessPoint property change should be
emitted.
---
src/station.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/station.c b/src/station.c
index 6a28254b..333b0fa1 100644
--- a/src/station.c
+++ b/src/station.c
@@ -1694,6 +1694,8 @@ static void station_enter_state(struct station *station,
l_dbus_property_changed(dbus, netdev_get_path(station->netdev),
IWD_STATION_INTERFACE, "ConnectedNetwork");
+ l_dbus_property_changed(dbus, netdev_get_path(station->netdev),
+ IWD_STATION_INTERFACE, "ConnectedAccessPoint");
l_dbus_property_changed(dbus,
network_get_path(station->connected_network),
IWD_NETWORK_INTERFACE, "Connected");
@@ -1865,6 +1867,8 @@ static void station_reset_connection_state(struct station *station)
l_dbus_property_changed(dbus, netdev_get_path(station->netdev),
IWD_STATION_INTERFACE, "ConnectedNetwork");
+ l_dbus_property_changed(dbus, netdev_get_path(station->netdev),
+ IWD_STATION_INTERFACE, "ConnectedAccessPoint");
l_dbus_property_changed(dbus, network_get_path(network),
IWD_NETWORK_INTERFACE, "Connected");
l_dbus_object_remove_interface(dbus, netdev_get_path(station->netdev),
--
2.34.1
next prev parent reply other threads:[~2024-08-19 17:52 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-19 17:51 [PATCH v2 1/8] doc: Document station Affinities property James Prestwood
2024-08-19 17:51 ` [PATCH v2 2/8] netdev: store signal threshold in netdev object, not globally James Prestwood
2024-08-19 17:51 ` [PATCH v2 3/8] netdev: add critical signal threshold level James Prestwood
2024-08-23 16:07 ` Denis Kenzior
2024-08-19 17:51 ` James Prestwood [this message]
2024-08-23 16:10 ` [PATCH v2 4/8] station: emit property changed for ConnectedAccessPoint Denis Kenzior
2024-08-19 17:51 ` [PATCH v2 5/8] station: add Affinities DBus property James Prestwood
2024-08-19 17:51 ` [PATCH v2 6/8] station: Use Affinities property to change roaming threshold James Prestwood
2024-08-19 17:51 ` [PATCH v2 7/8] auto-t: add affinities property for station, and extended_service_set James Prestwood
2024-08-19 17:51 ` [PATCH v2 8/8] auto-t: add tests for Affinities behavior James Prestwood
2024-08-23 16:03 ` [PATCH v2 1/8] doc: Document station Affinities property Denis Kenzior
2024-08-23 16:09 ` James Prestwood
2024-08-23 16:11 ` Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240819175151.1310546-4-prestwoj@gmail.com \
--to=prestwoj@gmail.com \
--cc=iwd@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox