tests: Replace HostapdGlobal() + remove() with hostapd.remove_bss()
This can be used to work with remote hosts. Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
This commit is contained in:
parent
b29c46beb9
commit
1728a2e73c
6 changed files with 17 additions and 25 deletions
|
@ -683,8 +683,7 @@ def test_olbc(dev, apdev):
|
|||
if status['olbc'] != '1' or status['olbc_ht'] != '1':
|
||||
raise Exception("Missing OLBC information")
|
||||
|
||||
hapd_global = hostapd.HostapdGlobal()
|
||||
hapd_global.remove(apdev[1]['ifname'])
|
||||
hostapd.remove_bss(apdev[1])
|
||||
|
||||
logger.info("Waiting for OLBC state to time out")
|
||||
cleared = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue