Fix VtsHalWifiV1_0Host#WifiStaIfaceHidlTest.SetScanningMacOui fail am: eb73bff276

am: 4808395767

Change-Id: I9e4ecfdcda7988725bc2c85703c26d7a38f72f56
This commit is contained in:
hayun.kim 2019-04-23 15:49:56 -07:00 committed by android-build-merger
commit 43ab18edcb

View file

@ -258,6 +258,11 @@ TEST_F(WifiStaIfaceHidlTest, EnableNDOffload) {
* code.
*/
TEST_F(WifiStaIfaceHidlTest, SetScanningMacOui) {
if (!isCapabilitySupported(
IWifiStaIface::StaIfaceCapabilityMask::SCAN_RAND)) {
// No-op if SetScanningMacOui is not supported.
return;
}
const android::hardware::hidl_array<uint8_t, 3> kOui{
std::array<uint8_t, 3>{{0x10, 0x22, 0x33}}};
EXPECT_EQ(WifiStatusCode::SUCCESS,