projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4223f36
)
Bluetooth: Use hex notation for mask
author
Andrei Emeltchenko
<andrei.emeltchenko@intel.com>
Thu, 19 Nov 2015 14:47:38 +0000
(16:47 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 19 Nov 2015 16:50:33 +0000
(17:50 +0100)
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>
drivers/bluetooth/hci_h5.c
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/hci_h5.c
b/drivers/bluetooth/hci_h5.c
index 012248efaf6f45867f427e615cf6bb788596e7ff..db039f2ce6554719556e7427775c246f3bb4f451 100644
(file)
--- 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 &
0x0
7);
return field;
}