Bluetooth: Use hex notation for mask
This makes it easier to read and makes code consistent. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
parent
4223f368b9
commit
e9d6376725
|
@ -119,7 +119,7 @@ static u8 h5_cfg_field(struct h5 *h5)
|
||||||
u8 field = 0;
|
u8 field = 0;
|
||||||
|
|
||||||
/* Sliding window size (first 3 bits) */
|
/* Sliding window size (first 3 bits) */
|
||||||
field |= (h5->tx_win & 7);
|
field |= (h5->tx_win & 0x07);
|
||||||
|
|
||||||
return field;
|
return field;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue