diff --git a/tests/hwsim/wpasupplicant.py b/tests/hwsim/wpasupplicant.py index 3978b860f..4856d3f5f 100644 --- a/tests/hwsim/wpasupplicant.py +++ b/tests/hwsim/wpasupplicant.py @@ -135,7 +135,7 @@ class WpaSupplicant: def global_request(self, cmd): if self.global_iface is None: - self.request(cmd) + return self.request(cmd) else: ifname = self.ifname or self.global_iface logger.debug(ifname + ": CTRL(global): " + cmd)