-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Darwin: Fix error handling in GetMACAddressFromInterfaces (#32658)
Correctly return CHIP_ERROR_NOT_FOUND when there is no active, primary interface to get the MAC address from. Also tidy up management of IOKit objects. (Use of IOObjectGetRetainCount is completely wrong here.)
- Loading branch information
1 parent
fee247a
commit 545025f
Showing
1 changed file
with
11 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters