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.
This commit is contained in:
parent
d43a640d71
commit
5df28473cb
|
@ -152,7 +152,7 @@ class HostapdCLI:
|
||||||
return [line for line in lines.split('\n') if line]
|
return [line for line in lines.split('\n') if line]
|
||||||
|
|
||||||
def set_neighbor(self, addr, ssid, nr):
|
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)
|
ctx.start_process(cmd, wait=True)
|
||||||
|
|
||||||
def send_bss_transition(self, device, nr_list):
|
def send_bss_transition(self, device, nr_list):
|
||||||
|
|
Loading…
Reference in New Issue