diff --git a/en/device_api/hdi/wlan/wifi_hal_base_feature.h b/en/device_api/hdi/wlan/wifi_hal_base_feature.h index ecfcf4edcdd6695e221ac1c08d41119613179f31..1cd6ba3163d3dba2ef21681206070e86af13730f 100644 --- a/en/device_api/hdi/wlan/wifi_hal_base_feature.h +++ b/en/device_api/hdi/wlan/wifi_hal_base_feature.h @@ -120,8 +120,8 @@ struct IWiFiBaseFeature { * * @param baseFeature Pointer to the basic feature, as described in {@link IWiFiBaseFeature}. * - * @return Returns 0 if the network interface name is obtained. - * @return Returns a negative value if the operation fails. + * @return Returns network interface name if the network interface name is obtained. + * @return Returns NULL if the operation fails. * * @since 1.0 * @version 1.0 @@ -133,7 +133,7 @@ struct IWiFiBaseFeature { * * @param baseFeature Pointer to the basic feature, as described in {@link IWiFiBaseFeature}. * - * @return Returns 0 if the feature type is obtained. + * @return Returns feature type if the feature type is obtained. * @return Returns a negative value if the operation fails. * * @since 1.0 diff --git a/zh-cn/device_api/hdi/wlan/wifi_hal_base_feature.h b/zh-cn/device_api/hdi/wlan/wifi_hal_base_feature.h index f08fc5b5ba3c931d4a6dd79121f4db6f19830da8..3272ca4be4c60018337696447351a81fd8048b75 100644 --- a/zh-cn/device_api/hdi/wlan/wifi_hal_base_feature.h +++ b/zh-cn/device_api/hdi/wlan/wifi_hal_base_feature.h @@ -107,8 +107,8 @@ struct IWiFiBaseFeature { * * @param baseFeature 输入参数,基本特性{@link IWiFiBaseFeature}。 * - * @return 如果操作成功,则返回0。 - * @return 如果操作失败,则返回负值。 + * @return 如果操作成功,则返回网卡名称。 + * @return 如果操作失败,则返回NULL。 * * @since 1.0 * @version 1.0 @@ -120,7 +120,7 @@ struct IWiFiBaseFeature { * * @param baseFeature 输入参数,基本特性{@link IWiFiBaseFeature}。 * - * @return 如果操作成功,则返回0。 + * @return 如果操作成功,则返回特性类型。 * @return 如果操作失败,则返回负值。 * * @since 1.0