distribution/packages/tools/rtk_hciattach/patches/rtk_hciattach-02-dont-read-mac-from-vendor-storage.patch
2022-02-05 09:23:32 -05:00

13 lines
352 B
Diff

--- a/rtb_fwc.c
+++ b/rtb_fwc.c
@@ -39,8 +39,8 @@
#define BT_CONFIG_DIRECTORY "/lib/firmware/rtlbt/"
#ifdef USE_CUSTOMER_ADDRESS
-#define BT_ADDR_FROM_VENDOR_STORAGE
-#define BT_ADDR_FILE "/opt/bdaddr"
+//#define BT_ADDR_FROM_VENDOR_STORAGE
+#define BT_ADDR_FILE "/storage/.config/btaddr"
static uint8_t customer_bdaddr = 0;
#endif