mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "supplicant(vts): Skip p2p tests on non-p2p devices as intended"
This commit is contained in:
@@ -75,7 +75,7 @@ TEST_P(SupplicantHidlTest, AddStaInterface) {
|
||||
* AddP2pInterface
|
||||
*/
|
||||
TEST_P(SupplicantHidlTest, AddP2pInterface) {
|
||||
if (isP2pOn_) return;
|
||||
if (!isP2pOn_) return;
|
||||
ISupplicant::IfaceInfo iface_info;
|
||||
iface_info.name = getP2pIfaceName();
|
||||
iface_info.type = IfaceType::P2P;
|
||||
@@ -115,7 +115,7 @@ TEST_P(SupplicantHidlTest, RemoveStaInterface) {
|
||||
* RemoveP2pInterface
|
||||
*/
|
||||
TEST_P(SupplicantHidlTest, RemoveP2pInterface) {
|
||||
if (isP2pOn_) return;
|
||||
if (!isP2pOn_) return;
|
||||
ISupplicant::IfaceInfo iface_info;
|
||||
iface_info.name = getP2pIfaceName();
|
||||
iface_info.type = IfaceType::P2P;
|
||||
|
||||
Reference in New Issue
Block a user