Bluetooth: host: Add parentesis around bitmask expression
Add parentesis around bitmask expression. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
ecf3bcf747
commit
d751e09652
1 changed files with 1 additions and 1 deletions
|
@ -7375,7 +7375,7 @@ static int le_ext_adv_param_set(struct bt_le_ext_adv *adv,
|
|||
}
|
||||
}
|
||||
|
||||
if (param->options & BT_LE_ADV_OPT_SCANNABLE || has_scan_data) {
|
||||
if ((param->options & BT_LE_ADV_OPT_SCANNABLE) || has_scan_data) {
|
||||
cp->props |= BT_HCI_LE_ADV_PROP_SCAN;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue