From: Jouni Malinen Date: Sun, 5 Jan 2014 05:47:42 +0000 (+0200) Subject: tests: Clean up hostapd ctrl_iface debug logging X-Git-Tag: hostap_2_1~205 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d45e417f7b935c1c9d007f1b31e953ed3999075f;p=thirdparty%2Fhostap.git tests: Clean up hostapd ctrl_iface debug logging Signed-hostap: Jouni Malinen --- diff --git a/tests/hwsim/hostapd.py b/tests/hwsim/hostapd.py index cf74a4731..94e95d04d 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):