diff --git a/src/add-ons/kernel/network/ppp/shared/libkernelppp/KPPPInterface.cpp b/src/add-ons/kernel/network/ppp/shared/libkernelppp/KPPPInterface.cpp index b42207be60..cdb6e9809c 100644 --- a/src/add-ons/kernel/network/ppp/shared/libkernelppp/KPPPInterface.cpp +++ b/src/add-ons/kernel/network/ppp/shared/libkernelppp/KPPPInterface.cpp @@ -2013,10 +2013,12 @@ KPPPInterface::CalculateBaudRate() Device()->OutputTransferRate()); else { fIfnet->link_speed = 0; - for (int32 index = 0; index < CountChildren(); index++) - if (ChildAt(index)->Ifnet()) - fIfnet->link_speed += ChildAt(index)->Ifnet()->link_speed; + for (int32 index = 0; index < CountChildren(); index++) { + if (ChildAt(index)->Ifnet()) { + fIfnet->link_speed = ChildAt(index)->Ifnet()->link_speed; return; + } + } } }