diff options
author | Jouni Malinen <j@w1.fi> | 2014-01-05 05:47:42 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2014-01-07 08:45:10 (GMT) |
commit | d45e417f7b935c1c9d007f1b31e953ed3999075f (patch) | |
tree | 5d1351f617574191fed7158715e3bffadd1e16e9 | |
parent | 1d646f5ee1987adda5de4026ae0ba41bd20c3c42 (diff) | |
download | hostap-d45e417f7b935c1c9d007f1b31e953ed3999075f.zip hostap-d45e417f7b935c1c9d007f1b31e953ed3999075f.tar.gz hostap-d45e417f7b935c1c9d007f1b31e953ed3999075f.tar.bz2 |
tests: Clean up hostapd ctrl_iface debug logging
Signed-hostap: Jouni Malinen <j@w1.fi>
-rw-r--r-- | tests/hwsim/hostapd.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/hwsim/hostapd.py b/tests/hwsim/hostapd.py index cf74a47..94e95d0 100644 --- a/tests/hwsim/hostapd.py +++ b/tests/hwsim/hostapd.py @@ -62,7 +62,6 @@ class Hostapd: return "PONG" in self.request("PING") def set(self, field, value): - logger.debug(self.ifname + ": SET " + field + "=" + value) if not "OK" in self.request("SET " + field + " " + value): raise Exception("Failed to set hostapd parameter " + field) @@ -109,11 +108,11 @@ class Hostapd: self.set("wep_key0", key) def enable(self): - if not "OK" in self.ctrl.request("ENABLE"): + if not "OK" in self.request("ENABLE"): raise Exception("Failed to enable hostapd interface " + self.ifname) def disable(self): - if not "OK" in self.ctrl.request("ENABLE"): + if not "OK" in self.request("ENABLE"): raise Exception("Failed to disable hostapd interface " + self.ifname) def dump_monitor(self): |