Index: test/mm-poll-signal-strength |
diff --git a/test/mm-poll-signal-strength b/test/mm-poll-signal-strength |
index 362fa38de694e8b789dee3660eda4afcdc789429..e8dd0b29f7fa0d0b22e73628ae4bbaffc443efc2 100755 |
--- a/test/mm-poll-signal-strength |
+++ b/test/mm-poll-signal-strength |
@@ -1,5 +1,9 @@ |
#!/usr/bin/python |
+# Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
import re |
import sys |
import time |
@@ -13,8 +17,7 @@ TIME = 60 |
SAMPLES = TIME * 2 |
-manager = mm.ModemManager() |
-path = mm.PickOneModem(manager, '') |
+manager, path = mm.PickOneModem('') |
simple_modem = manager.SimpleModem(path) |
strengths = [] # list of lists where list[i] is dbm for interface #i |