am 7c210ba5: Fix invalid linkspeed display

* commit '7c210ba5c18c2720023dd8fc4215cde95a6fe71c':
  Fix invalid linkspeed display
This commit is contained in:
Irfan Sheriff
2011-05-23 16:51:38 -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);
}