diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c index 012248efaf6f45867f427e615cf6bb788596e7ff..db039f2ce6554719556e7427775c246f3bb4f451 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; }