libaltos: Use case-insensitive compare when matching BT MACs
authorKeith Packard <keithp@keithp.com>
Sun, 14 Jan 2018 05:29:08 +0000 (21:29 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 14 Jan 2018 05:29:08 +0000 (21:29 -0800)
commit54e8e033ccf47526e5ff08f93c105ef75334924e
tree896996da5eba01ba4ccab0cd5deca8015f57a115
parentb95db5819885da89504d5e11decfda98cfac37aa
libaltos: Use case-insensitive compare when matching BT MACs

We use the BT MAC vendor portion to figure out which port to connect
to as that is simpler and takes less network traffic than actually
doing discovery. However, on Windows, we were generating the address
in lower case and comparing against upper case vendors, which didn't
work out too well.

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