All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] station: Provide SignalLevelAgent update while connecting
@ 2022-05-23  6:20 Jesse Lentz
  0 siblings, 0 replies; only message in thread
From: Jesse Lentz @ 2022-05-23  6:20 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

When a station enters the "connecting" state, if a SignalLevelAgent is
registered, provide an initial signal level via a "Changed" method call.
---
 src/station.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/station.c b/src/station.c
index 6aad40cb..7c88f266 100644
--- a/src/station.c
+++ b/src/station.c
@@ -1487,6 +1487,9 @@ static void station_enter_state(struct station *station,
 				network_get_path(station->connected_network),
 				IWD_NETWORK_INTERFACE, "Connected");
 
+		if (station->signal_agent)
+			station_signal_agent_notify(station);
+
 		periodic_scan_stop(station);
 		break;
 	case STATION_STATE_CONNECTED:
-- 
2.36.0

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-23  6:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-23  6:20 [PATCH 2/2] station: Provide SignalLevelAgent update while connecting Jesse Lentz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.