Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 56b8988c authored by Ian Coolidge's avatar Ian Coolidge
Browse files

Don't truncate the top 16 bits of the LE advertisement data mask.

This is stored elsewhere as unsigned 32-bit integer.
It should be stored the same way here.

Bug: 19592970
(cherry picked from commit 79fb0912)

Change-Id: I21dbe07e4a1095e3e8b38a56b9673a1cebb32b08
parent 84edb622
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -515,7 +515,7 @@ typedef struct
typedef struct
{
    BT_HDR                  hdr;
    UINT16                  data_mask;
    UINT32                  data_mask;
    tBTA_BLE_ADV_DATA       *p_adv_cfg;
    tBTA_SET_ADV_DATA_CMPL_CBACK    *p_adv_data_cback;
}tBTA_DM_API_SET_ADV_CONFIG;
@@ -1117,4 +1117,3 @@ extern void bta_dm_disable_test_mode(tBTA_DM_MSG *p_data);
extern void bta_dm_execute_callback(tBTA_DM_MSG *p_data);

#endif /* BTA_DM_INT_H */