libaltos: typo in libaltos broke the build
authorKeith Packard <keithp@keithp.com>
Fri, 11 Jul 2014 04:13:49 +0000 (21:13 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 11 Jul 2014 04:13:49 +0000 (21:13 -0700)
When converting this to use dlopen, I mis-typed the name hci_read_remote_name

Signed-off-by: Keith Packard <keithp@keithp.com>
libaltos/libaltos.c

index a1f1ee4c4c1a95da7958efb26e2ed000615a4600..4e3bc2c51b2d5b1f7fcd2eb9c8d090118657a13a 100644 (file)
@@ -675,7 +675,7 @@ bt_func(str2ba, int, -1, (const char *str, bdaddr_t *ba), (str, ba))
 #define str2ba altos_str2ba
 
 bt_func(hci_read_remote_name, int, -1, (int sock, const bdaddr_t *ba, int len, char *name, int timeout), (sock, ba, len, name, timeout))
-#define hci_read_remote altos_hci_read_remote
+#define hci_read_remote_name altos_hci_read_remote_name
 
 bt_func(hci_open_dev, int, -1, (int dev_id), (dev_id))
 #define hci_open_dev altos_hci_open_dev