回退 'Pull Request !1631 : 热点打开失败'

This commit is contained in:
武宏博 2023-12-25 10:37:32 +00:00 committed by Gitee
parent 88791b1fc9
commit 10a53a07d7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -279,7 +279,7 @@ WifiErrorNo WifiHdiClient::SetConnectMacAddr(const std::string &mac, const int p
if (CheckMacIsValid((const char *)mac.c_str()) != 0) {
return WIFI_IDL_OPT_INPUT_MAC_INVALID;
}
HdiSetAssocMacAddr((unsigned char *)mac.c_str(), mac.length(), portType);
return HdiSetAssocMacAddr((unsigned char *)mac.c_str(), mac.length(), portType);
#else
return WIFI_IDL_OPT_OK;
#endif