HomeFreeBSD

net80211: prefix get_random_bytes() with net80211_

Description

net80211: prefix get_random_bytes() with net80211_

Both linux/random.h and net80211 have a function named
get_random_bytes(). With overlapping files included these collide.
Arguably the function could be renamed in linuxkpi but the generic
name should also not be used in net80211 so rename it there.

Sponsored by: The FreeBSD Foundation
Reviewed by: philip, adrian
Differential Revision: https://reviews.freebsd.org/D29335

(cherry picked from commit af7d9f8e31c4c185f277b27059e470ec8a5627a7)

Details

Provenance
bzAuthored on Mar 18 2021, 10:15 PM
Reviewer
philip
Differential Revision
D29335: net80211: prefix get_random_bytes() with net80211_
Parents
rG546a1a111992: lib80211: Start adding 11ac ETSI bits to regdomain.xml
Branches
Unknown
Tags
Unknown