Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch for persistent bluetooth mac address #4

Merged
merged 2 commits into from
Sep 18, 2022
Merged

patch for persistent bluetooth mac address #4

merged 2 commits into from
Sep 18, 2022

Conversation

well0nez
Copy link
Contributor

it creates the directory
/data/misc/bluetooth/

in the rootfs and comments out
#define USE_MAC_FROM_RDA_NVRAM
in hci_core.c

we can observe, that the persistence of the bt mac address has written into function which depends on CONFIG_BT_RANDADDR
which is likely odd, very bad programming here.

creating directory for persistent bluetooth mac address
ugly fix to save and load a persistent mac for bluetooth from a folder in /data/misc/bluetooth

it was very bad programmed in the first place
@TheRemote TheRemote merged commit 789e536 into TheRemote:main Sep 18, 2022
@TheRemote
Copy link
Owner

TheRemote commented Sep 18, 2022

Ahh yes, I guess this is hardly surprising since the wireless is exactly the same. Thanks for following how the wireless fixes worked. That will make it much less confusing that everything is stored in that same place.

Thanks a ton for the further fixes, everything looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants