• Brian Gix's avatar
    Bluetooth: hci_sync: Convert MGMT_OP_SET_LOCAL_NAME · 6f6ff38a
    Brian Gix authored
    Uses existing *_sync functions, but made hci_update_name_sync
    non-static.
    
    mgmt-test paths:
    Set Advertising on - Local name 1
    Set Advertising on - Name + Appear 1
    Set Local Name - Success 1
    Set Local Name - Success 2
    Set Local Name - Success 3
    Add Advertising - Success (Empty ScRsp)
    Add Advertising - Success (Complete name)
    Add Advertising - Success (Shortened name)
    Add Advertising - Success (Short name)
    Add Advertising - Success (Name + data)
    Add Advertising - Invalid Params (Name + data)
    Add Advertising - Success (Name+data+appear)
    Read Ext Controller Info 3
    Read Ext Controller Info 4
    Read Ext Controller Info 5
    Add Ext Advertising - Success (Empty ScRsp)
    Add Ext Advertising - Success (Complete name)
    Add Ext Advertising - Success (Shortened name)
    Add Ext Advertising - Success (Short name)
    Add Ext Advertising - Success (Name + data)
    Add Ext Advertising - Invalid Params (Name + data)
    Add Ext Advertising - Success (Name+data+appear)
    Signed-off-by: default avatarBrian Gix <brian.gix@intel.com>
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    6f6ff38a
mgmt.c 243 KB