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:
Joakim Andersson 2020-04-02 16:12:48 +02:00 committed by Johan Hedberg
commit d751e09652

View file

@ -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;
}