aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_request.c
diff options
context:
space:
mode:
authorAbhishek Pandit-Subedi <[email protected]>2020-05-13 02:09:32 +0000
committerMarcel Holtmann <[email protected]>2020-05-13 06:50:56 +0000
commitaaebf8e6088270e45d30314031b5d9a88a589cb9 (patch)
tree88398e081197e56127468746e3ad007ce65fe50f /net/bluetooth/hci_request.c
parentBluetooth: Introduce debug feature when dynamic debug is disabled (diff)
downloadkernel-aaebf8e6088270e45d30314031b5d9a88a589cb9.tar.gz
kernel-aaebf8e6088270e45d30314031b5d9a88a589cb9.zip
Bluetooth: Fix incorrect type for window and interval
The types for window and interval should be uint16, not uint8. Signed-off-by: Abhishek Pandit-Subedi <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'net/bluetooth/hci_request.c')
-rw-r--r--net/bluetooth/hci_request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_request.c b/net/bluetooth/hci_request.c
index 3f470f0e432c..f6870e98faab 100644
--- a/net/bluetooth/hci_request.c
+++ b/net/bluetooth/hci_request.c
@@ -890,7 +890,7 @@ void hci_req_add_le_passive_scan(struct hci_request *req)
struct hci_dev *hdev = req->hdev;
u8 own_addr_type;
u8 filter_policy;
- u8 window, interval;
+ u16 window, interval;
if (hdev->scanning_paused) {
bt_dev_dbg(hdev, "Scanning is paused for suspend");