Commit e9d63767 authored by Andrei Emeltchenko's avatar Andrei Emeltchenko Committed by Marcel Holtmann

Bluetooth: Use hex notation for mask

This makes it easier to read and makes code consistent.
Signed-off-by: default avatarAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 4223f368
...@@ -119,7 +119,7 @@ static u8 h5_cfg_field(struct h5 *h5) ...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment