Hi Johan, Please ignore this patch series. I will fix the unnecessary file-system lookup for the remote features. On Thu, Apr 28, 2011 at 7:36 PM, Claudio Takahasi <claudio.takahasi@xxxxxxxxxxxxx> wrote: > This patch series is the first step to cleanup the device discovery > procedure. The main changes are: > Â- Unify advertising reports and inquiry results: mgmt sends >  Âone device found event > Â- Logic improvement/cleanup: device found > Â- Move EIR functions to a new file > > Andre Guedes will send soon a patch series changing the discovery state > control to be make hciops and mgmtops functional. > > There is excessive dynamic memory allocations/deallocations for EIR data. > This is not a problem introduced by this patch serie. eir_data_free > will be removed soon. > > ***** Open Issues ***** > > * Use BDADDR_TYPE_NON_LE instead of BR? > #define BDADDR_TYPE_LE_PUBLIC Â0x00 > #define BRADDR_TYPE_LE_RANDOM Â0x01 > #define BDADDR_TYPE_BR     0xff Comments here? BR, Claudio > > Bruna Moreira (3): > ÂRemove btd_event_advertising_report > ÂReplace EIR_DATA_LENGTH with HCI_MAX_EIR_LENGTH > ÂDrop variable EIR length > > Claudio Takahasi (10): > ÂMove EIR related functions to a new file > ÂAdd Bluetooth address type definition > ÂInitial device found cleanup > ÂMove legacy verification to a new function > ÂCleanup read name and alias from storage > ÂDon't resolve name if the name is in the storage > ÂUnify inquiry results and advertises > ÂFix memory leak of EIR data > ÂChange the order to write/read the remote's name > ÂCleanup inserting new device found entry > > ÂMakefile.am    |  Â2 +- > Âlib/bluetooth.h  |  Â4 + > Âplugins/hciops.c Â| Â202 +++++---------------------------- > Âplugins/mgmtops.c |  Â3 +- > Âsrc/adapter.c   | Â178 ++++++++++++++++++----------- > Âsrc/adapter.h   |  Â9 +- > Âsrc/eir.c     | Â328 +++++++++++++++++++++++++++++++++++++++++++++++++++++ > Âsrc/eir.h     |  41 +++++++ > Âsrc/event.c    | Â222 +----------------------------------- > Âsrc/event.h    |  Â5 +- > Âsrc/sdpd.h    Â|  14 --- > Â11 files changed, 526 insertions(+), 482 deletions(-) > Âcreate mode 100644 src/eir.c > Âcreate mode 100644 src/eir.h > > -- > 1.7.5.rc3 > -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html