Merge "[WIFI][VTS] Don't call RequestDriverDebugDump API if not supported" into oc-dev

This commit is contained in:
Etan Cohen 2017-04-08 04:15:44 +00:00 committed by Android (Google) Code Review
commit e13455b32a

View file

@ -235,8 +235,10 @@ TEST_F(WifiChipHidlTest, RequestDriverDebugDump) {
if (caps & IWifiChip::ChipCapabilityMask::DEBUG_MEMORY_DRIVER_DUMP) {
EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_driver_dump.first.code);
} else {
EXPECT_EQ(WifiStatusCode::ERROR_NOT_SUPPORTED,
status_and_driver_dump.first.code);
// API semantics (today) are such that function cannot be called if not capable!
//
// EXPECT_EQ(WifiStatusCode::ERROR_NOT_SUPPORTED,
// status_and_driver_dump.first.code);
}
}