am b7c2d5b4: am 7c210ba5: Fix invalid linkspeed display

* commit 'b7c2d5b4e1bafe543d3887d350b3e77d71a0cf34':
  Fix invalid linkspeed display
This commit is contained in:
Irfan Sheriff
2011-05-24 12:56:26 -07:00
committed by Android Git Automerger

View File

@@ -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);
}