mirror of
https://gitee.com/openharmony/communication_wifi.git
synced 2024-11-23 07:00:07 +00:00
回退 'Pull Request !1631 : 热点打开失败'
This commit is contained in:
parent
88791b1fc9
commit
10a53a07d7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user