commit 5df28473cb23a757ccaac6a9759e1c7a3aa9906c
parent d43a640d7186468ec7804aac82a5320592e65f33
Author: James Prestwood <prestwoj@gmail.com>
Date: Fri, 11 Sep 2020 11:11:28 -0700
auto-t: fix set_neighbor SSID escaping
Before the re-write there was interesting escapes being used for
set_neighbor. Curiously now hostapd fails to set the neighbor due
to these escapes so they have been removed.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autotests/util/hostapd.py b/autotests/util/hostapd.py
@@ -152,7 +152,7 @@ class HostapdCLI:
return [line for line in lines.split('\n') if line]
def set_neighbor(self, addr, ssid, nr):
- cmd = self.cmdline + ['set_neighbor', addr, 'ssid=\\""%s"\\"' % ssid, 'nr=%s' % nr]
+ cmd = self.cmdline + ['set_neighbor', addr, 'ssid="%s"' % ssid, 'nr=%s' % nr]
ctx.start_process(cmd, wait=True)
def send_bss_transition(self, device, nr_list):