mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 02:19:26 +01:00
station: Provide SignalLevelAgent update while connecting
When a station enters the "connecting" state, if a SignalLevelAgent is registered, provide an initial signal level via a "Changed" method call.
This commit is contained in:
parent
38e2d4383a
commit
ce227e7b94
@ -1487,6 +1487,9 @@ static void station_enter_state(struct station *station,
|
|||||||
network_get_path(station->connected_network),
|
network_get_path(station->connected_network),
|
||||||
IWD_NETWORK_INTERFACE, "Connected");
|
IWD_NETWORK_INTERFACE, "Connected");
|
||||||
|
|
||||||
|
if (station->signal_agent)
|
||||||
|
station_signal_agent_notify(station);
|
||||||
|
|
||||||
periodic_scan_stop(station);
|
periodic_scan_stop(station);
|
||||||
break;
|
break;
|
||||||
case STATION_STATE_CONNECTED:
|
case STATION_STATE_CONNECTED:
|
||||||
|
Loading…
Reference in New Issue
Block a user