mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-04 23:31:19 +00:00
wifi: do update BSSID cache in activation_success_handler() (rh #1094298)
Even if update_seen_bssids_cache() is called by set_current_ap() it did not
really update the cache because it was called in NM_DEVICE_STATE_PREPARE state.
So the cache was only updated by periodic_update() when the connection roamed
to another AP.
Fixes: 1283816b41
https://bugzilla.redhat.com/show_bug.cgi?id=1094298
This commit is contained in:
parent
312c72f761
commit
d4ebffcfb9
|
@ -2742,6 +2742,8 @@ activation_success_handler (NMDevice *device)
|
|||
|
||||
periodic_update (self);
|
||||
|
||||
update_seen_bssids_cache (self, priv->current_ap);
|
||||
|
||||
/* Reset scan interval to something reasonable */
|
||||
priv->scan_interval = SCAN_INTERVAL_MIN + (SCAN_INTERVAL_STEP * 2);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue