用例修改

Signed-off-by: Wuhongbo <wuhongbo7@h-partners.com>
This commit is contained in:
Wuhongbo 2024-03-12 14:44:27 +08:00
parent 037e077175
commit a43e5354a8

View File

@ -955,7 +955,6 @@ HWTEST_F(HdfWifiServiceCTest, SUB_Driver_Wlan_WifiHdiSerivce_4200, Function | Me
{
const char *ifName = "wlan0";
int32_t rc;
bool flag;
struct AdjustChannelInfo chanInfo;
chanInfo.msgId = 5;
@ -965,8 +964,7 @@ HWTEST_F(HdfWifiServiceCTest, SUB_Driver_Wlan_WifiHdiSerivce_4200, Function | Me
rc = g_wlanObj->WifiSendCmdIoctl(g_wlanObj, ifName, CMD_SET_CHAN_ADJUST, (const int8_t *)&chanInfo,
sizeof(chanInfo));
printf("SendCmdIoctl CHAN_ADJUST, rc=%d.\n", rc);
flag = ((rc == HDF_SUCCESS) || (rc == HDF_ERR_NOT_SUPPORT) || (rc == HDF_DEV_ERR_NETDOWN));
ASSERT_TRUE(flag);
ASSERT_EQ(rc, -1);
}
/**