tests: Fix cfg80211_tx_frame test
authorAvraham Stern <avraham.stern@intel.com>
Mon, 5 Sep 2016 14:33:11 +0000 (17:33 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 2 Oct 2016 18:27:43 +0000 (21:27 +0300)
commit8181c13a8de4341d282edd1d6a2fa881bb610ebf
tree23355ed30eca38f31ca1dda3f07b94446868d607
parent401ff1279945872e37de1f356958af5018dac1b7
tests: Fix cfg80211_tx_frame test

In case that a dedicated P2P Device interface is used, a new interface
must be create for a P2P group. Thus, in order to send mgmt
frames, attach a new WpaSupplicant object to the newly created group
and use this object for sending the frames.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
tests/hwsim/test_cfg80211.py