tests: Set bridge ageing in ap_wpa2_bridge_fdb test
Set the bridge ageing to 1 sec to make the bridge clear unused addresses after this interval. Otherwise the test depends on the local configuration of brctl. Signed-off-by: Avraham Stern <avraham.stern@intel.com>
This commit is contained in:
parent
f3b7761ab7
commit
f487e306b9
1 changed files with 1 additions and 0 deletions
|
@ -357,6 +357,7 @@ def test_ap_wpa2_bridge_fdb(dev, apdev):
|
|||
cmd = subprocess.Popen(['brctl', 'showmacs', 'ap-br0'],
|
||||
stdout=subprocess.PIPE)
|
||||
macs1 = cmd.stdout.read()
|
||||
cmd = subprocess.call(['brctl', 'setageing', 'ap-br0', '1'])
|
||||
dev[0].request("DISCONNECT")
|
||||
dev[1].request("DISCONNECT")
|
||||
time.sleep(1)
|
||||
|
|
Loading…
Reference in a new issue