tests: P2P GO channel preference and regulatory rule mismatch

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2014-08-26 17:57:26 +03:00 committed by Jouni Malinen
parent 04a258e7c5
commit 4b15c3f256
2 changed files with 26 additions and 2 deletions

View file

@ -14,9 +14,9 @@ import utils
from wlantest import Wlantest
from wpasupplicant import WpaSupplicant
def autogo(go, freq=None):
def autogo(go, freq=None, persistent=None):
logger.info("Start autonomous GO " + go.ifname)
res = go.p2p_start_go(freq=freq)
res = go.p2p_start_go(freq=freq, persistent=persistent)
logger.debug("res: " + str(res))
return res