* commit 'b7c2d5b4e1bafe543d3887d350b3e77d71a0cf34': Fix invalid linkspeed display
This commit is contained in:
@@ -197,7 +197,7 @@ public class WifiConfigController implements TextWatcher,
|
|||||||
}
|
}
|
||||||
|
|
||||||
WifiInfo info = mAccessPoint.getInfo();
|
WifiInfo info = mAccessPoint.getInfo();
|
||||||
if (info != null) {
|
if (info != null && info.getLinkSpeed() != -1) {
|
||||||
addRow(group, R.string.wifi_speed, info.getLinkSpeed() + WifiInfo.LINK_SPEED_UNITS);
|
addRow(group, R.string.wifi_speed, info.getLinkSpeed() + WifiInfo.LINK_SPEED_UNITS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user