Another sixaxis build fix

This commit is contained in:
Bastien Nocera 2012-01-13 13:10:13 +00:00
parent 1553020a3e
commit 2c0b61ebc4

View File

@ -189,7 +189,7 @@ index 0000000..e8cff76
+ +
+ device = adapter_find_device(adapter, address); + device = adapter_find_device(adapter, address);
+ if (device == NULL) { + if (device == NULL) {
+ device = device_create(conn, adapter, address, DEVICE_TYPE_UNKNOWN); + device = device_create(conn, adapter, address, ADDR_TYPE_BREDR);
+ if (device != NULL) + if (device != NULL)
+ adapter_create_device_for_device(conn, adapter, device); + adapter_create_device_for_device(conn, adapter, device);
+ } + }