Commit ca6adf13 authored by Andries Kruithof's avatar Andries Kruithof Committed by Fabio Baltieri
Browse files

Bluetooth: controller: some arguments are unsigned instead of int



There are some calls to ull_adv_aux_pdu_set_clear that are set to 0
but the argument is actually unsigned. This PR replaces the '0'
with '0U'

Signed-off-by: default avatarAndries Kruithof <andries.kruithof@nordicsemi.no>
parent b7e623c8
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -512,7 +512,7 @@ uint8_t ll_adv_aux_ad_data_set(uint8_t handle, uint8_t op, uint8_t frag_pref,
			err = ull_adv_aux_pdu_set_clear(adv, pdu_prev, pdu,
							(ULL_ADV_PDU_HDR_FIELD_AD_DATA |
							 ULL_ADV_PDU_HDR_FIELD_AUX_PTR),
						0, hdr_data);
							0U, hdr_data);
			if (err) {
				/* NOTE: latest PDU was not consumed by LLL and
				 * as ull_adv_sync_pdu_alloc() has reverted back
@@ -833,7 +833,7 @@ uint8_t ll_adv_aux_sr_data_set(uint8_t handle, uint8_t op, uint8_t frag_pref,
					  ULL_ADV_PDU_HDR_FIELD_AD_DATA_APPEND;
			err = ull_adv_aux_pdu_set_clear(adv, sr_pdu_prev, sr_pdu,
							hdr_add_fields,
							0,
							0U,
							hdr_data);
		} else {
			/* Add AD Data and remove any prior presence of Aux Ptr */