From: Andrei Emeltchenko Date: Thu, 19 Nov 2015 14:47:38 +0000 (+0200) Subject: Bluetooth: Use hex notation for mask X-Git-Tag: v4.14-rc1~3609^2~588^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e9d63767258753f28920d954712806a061b69547;p=platform%2Fkernel%2Flinux-rpi.git Bluetooth: Use hex notation for mask This makes it easier to read and makes code consistent. Signed-off-by: Andrei Emeltchenko Signed-off-by: Marcel Holtmann --- diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c index 012248e..db039f2 100644 --- a/drivers/bluetooth/hci_h5.c +++ b/drivers/bluetooth/hci_h5.c @@ -119,7 +119,7 @@ static u8 h5_cfg_field(struct h5 *h5) u8 field = 0; /* Sliding window size (first 3 bits) */ - field |= (h5->tx_win & 7); + field |= (h5->tx_win & 0x07); return field; }