]>
Commit | Line | Data |
---|---|---|
f55cef8d | 1 | --- bluez-4.47/src/oui.c~ 2009-01-08 17:00:12.000000000 +0100 |
2 | +++ bluez-4.47/src/oui.c 2009-08-08 13:51:09.519278151 +0200 | |
0416a3b3 AM |
3 | @@ -38,7 +38,7 @@ |
4 | ||
5 | /* http://standards.ieee.org/regauth/oui/oui.txt */ | |
6 | ||
7 | -#define OUIFILE "/var/lib/misc/oui.txt" | |
8 | +#define OUIFILE "/usr/share/hwdata/oui.txt" | |
9 | ||
10 | char *ouitocomp(const char *oui) | |
11 | { | |
12 | @@ -48,12 +48,7 @@ | |
13 | ||
14 | fd = open("oui.txt", O_RDONLY); | |
15 | if (fd < 0) { | |
16 | - fd = open(OUIFILE, O_RDONLY); | |
17 | - if (fd < 0) { | |
18 | - fd = open("/usr/share/misc/oui.txt", O_RDONLY); | |
19 | - if (fd < 0) | |
20 | - return NULL; | |
21 | - } | |
22 | + return NULL; | |
23 | } | |
24 | ||
25 | if (fstat(fd, &st) < 0) { |