Index: server/site_wifitest.py |
diff --git a/server/site_wifitest.py b/server/site_wifitest.py |
index a7852954691b696dcab1bfa99f46e74b485326f0..fc43906f2a9ea8ee6e8d938f85cbe63c420e52ad 100644 |
--- a/server/site_wifitest.py |
+++ b/server/site_wifitest.py |
@@ -265,12 +265,12 @@ class WiFiTest(object): |
def client_powersave_on(self, params): |
""" Enable power save operation """ |
- self.client.run("iwconfig %s power on" % self.client_wlanif) |
+ self.client.run("iw dev %s set power_save on" % self.client_wlanif) |
def client_powersave_off(self, params): |
""" Disable power save operation """ |
- self.client.run("iwconfig %s power off" % self.client_wlanif) |
+ self.client.run("iw dev %s set power_save off" % self.client_wlanif) |
def __client_check(self, param, want): |