tests: Fix dbus_interface to restore P2P channel list to default
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 12 Oct 2015 12:36:46 +0000 (15:36 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 12 Oct 2015 12:36:46 +0000 (15:36 +0300)
commit7966674d734c7c56c2d33852fd3f42369bf18645
treef10de697d49124fc320a105de00cbf46e9f3a15f
parenta8412ec9d0ec3d5a01c32d817e07762c88913e83
tests: Fix dbus_interface to restore P2P channel list to default

It was possible for the dbus_interface test case to leave the P2P
channel lists with 5 GHz channels enabled due to the special driver=none
case. This could make the following P2P test case fail due to selecting
an unexpected channel. Fix this by forcing P2P channel list update at
the end of the dbus_interface test case.

This was triggering with the following hwsim test case sequence:
dbus_interface p2ps_connect_adv_go_p2ps_method_group_iface.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_dbus.py