From d45e417f7b935c1c9d007f1b31e953ed3999075f Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 5 Jan 2014 07:47:42 +0200 Subject: [PATCH] tests: Clean up hostapd ctrl_iface debug logging Signed-hostap: Jouni Malinen --- tests/hwsim/hostapd.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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):