Fix invalid linkspeed display
Bug: 4391449 Change-Id: I8c8efcaa73d09c1e8b523f7798b6c626edc96c1e
This commit is contained in:
@@ -197,7 +197,7 @@ public class WifiConfigController implements TextWatcher,
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user