mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
resolve merge conflicts of 9e1ee9bb30 to master
Test: I solemnly swear I tested this conflict resolution. Bug: None Change-Id: Iad05fce7dfa8832ed7c62326a908ab52b05268e0
This commit is contained in:
@@ -648,6 +648,10 @@ std::pair<WifiStatus, std::array<uint8_t, 6>>
|
||||
WifiStaIface::getFactoryMacAddressInternal() {
|
||||
std::array<uint8_t, 6> mac =
|
||||
iface_util_.lock()->getFactoryMacAddress(ifname_);
|
||||
if (mac[0] == 0 && mac[1] == 0 && mac[2] == 0 && mac[3] == 0 &&
|
||||
mac[4] == 0 && mac[5] == 0) {
|
||||
return {createWifiStatus(WifiStatusCode::ERROR_UNKNOWN), mac};
|
||||
}
|
||||
return {createWifiStatus(WifiStatusCode::SUCCESS), mac};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user