mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2024-11-22 08:16:25 -06:00
I believe this fixes the client site speed issue.
This commit is contained in:
parent
420b6e1ca6
commit
680851b5a8
@ -48,6 +48,11 @@ pub fn promote_access_points(
|
||||
max_up_mbps = ap.upload;
|
||||
max_down_mbps = ap.download;
|
||||
}
|
||||
// If the parent is a client, use the client's speeds
|
||||
if sites[parent_site_id].site_type == UispSiteType::Client {
|
||||
max_up_mbps = sites[parent_site_id].max_up_mbps;
|
||||
max_down_mbps = sites[parent_site_id].max_down_mbps;
|
||||
}
|
||||
|
||||
let mut new_site = UispSite {
|
||||
id: link.device_id,
|
||||
|
Loading…
Reference in New Issue
Block a user