Fix incorrect SetConnScanParam function mapping
BTA_DM_API_BLE_CONN_SCAN_PARAM_EVT is defined before BTA_DM_API_BLE_SCAN_PARAM_EVT in the enum but the corresponding entries in bta_dm_action were inverted. This resulted in incorrect invocation of set_conn_scan_params while trying to set parameters for scanning. The call was hence failing here and was not resulting in setting of the new scan parameters in the Controller irrespective of the scan mode selected from the App. This would essentially result in the breakage of ScanSettings.SCAN_MODE_<xx> Android SDK APIs. Bug: 23602042 Change-Id: I17e1b14a32250e3ccb7631a67690ec2e0a6bc321
Loading
Please register or sign in to comment