mirror of
https://gitee.com/openharmony/xts_hats
synced 2024-11-27 09:00:57 +00:00
用例修改
Signed-off-by: Wuhongbo <wuhongbo7@h-partners.com>
This commit is contained in:
parent
037e077175
commit
a43e5354a8
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user