Skip to content

Commit

Permalink
wpa: Diff reduction with upstream
Browse files Browse the repository at this point in the history
I inadvertantly added gratuitous changes to upstream. Revert the
gratuitous parts of 676041c

Suggested by: cy
Fixes: 676041c
Sponsored by: Netflix
  • Loading branch information
bsdimp committed May 31, 2024
1 parent e03e8b0 commit cab9ccf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/wpa/src/utils/os_unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ int os_get_reltime(struct os_reltime *t)
return 0;
}
switch (clock_id) {
#if defined(CLOCK_BOOTTIME)
#ifdef CLOCK_BOOTTIME
case CLOCK_BOOTTIME:
clock_id = CLOCK_MONOTONIC;
break;
#endif
#if defined(CLOCK_MONOTONIC)
#ifdef CLOCK_MONOTONIC
/*
* FreeBSD has both BOOTTIME and MONOTONIC defined to the same value, since they
* mean the same thing. FreeBSD 14.1 and ealier don't, so need this case.
Expand Down

0 comments on commit cab9ccf

Please sign in to comment.